Spread Windows Forms 12.0 Product Documentation
NoteStyle Property (Cell)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : NoteStyle Property
Gets or sets the note style for a cell.
Syntax
'Declaration
 
Public Property NoteStyle As NoteStyle
'Usage
 
Dim instance As Cell
Dim value As NoteStyle
 
instance.NoteStyle = value
 
value = instance.NoteStyle
public NoteStyle NoteStyle {get; set;}

Property Value

NoteStyle object containing the style for cell notes
Remarks
Use this property to hide or show cell notes.
Example
This example sets a permanent note for the cell.
fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development"); 
fpSpread1.ActiveSheet.Cells[0, 0].NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote; 
fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development") 
fpSpread1.ActiveSheet.Cells(0, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote
See Also

Reference

Cell Class
Cell Members
NoteStyle Enumeration

User-Task Documentation

Adding a Note to a Cell