FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetStyleProperty クラス : NoteStyle フィールド |
'Declaration Public Shared ReadOnly NoteStyle As SheetStyleProperty
'使用法 Dim value As SheetStyleProperty value = SheetStyleProperty.NoteStyle
public static readonly SheetStyleProperty NoteStyle
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); si.CanFocus = false; si.NoteStyle = NoteStyle.StickyNote; si.TabStop = false; si.VisualStyles = FarPoint.Win.VisualStyles.On; fpSpread1.ActiveSheet.DefaultStyle = si; bool b = si.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.NoteStyle); if (b == true) { MessageBox.Show("The note style is " + si.NoteStyle.ToString()); }
Dim si As New FarPoint.Win.Spread.StyleInfo si.CanFocus = False si.NoteStyle = NoteStyle.StickyNote si.TabStop = False si.VisualStyles = FarPoint.Win.VisualStyles.On FpSpread1.ActiveSheet.DefaultStyle = si Dim b As Boolean = si.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.CanFocus) If b = True Then MessageBox.Show("The note style is " & si.NoteStyle.ToString()) End If