Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / NoteStyle Property
Example


In This Topic
    NoteStyle Property (Cell)
    In This Topic
    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