Spread Windows Forms 12.0 Product Documentation
IsNoteStyleSet Method (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : IsNoteStyleSet Method
Gets whether the note style setting of the cell (NoteStyle property) is set.
Syntax
'Declaration
 
Public Overridable Function IsNoteStyleSet() As Boolean
'Usage
 
Dim instance As StyleInfo
Dim value As Boolean
 
value = instance.IsNoteStyleSet()
public virtual bool IsNoteStyleSet()

Return Value

Boolean: true if the property is set; false otherwise
Remarks

Gets whether the NoteStyle property is set.

Example
fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development"); 
fpSpread1.ActiveSheet.DefaultStyle.NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
bool b;
b = fpSpread1.ActiveSheet.DefaultStyle.IsNoteStyleSet();
MessageBox.Show(b.ToString());
fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development") fpSpread1.ActiveSheet.DefaultStyle.NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote
Dim b As Boolean
b = fpSpread1.ActiveSheet.DefaultStyle.IsNoteStyleSet
MsgBox(b.ToString())
See Also

Reference

StyleInfo Class
StyleInfo Members