Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / AllowNoteEdit Property
Example


In This Topic
    AllowNoteEdit Property
    In This Topic
    Gets or sets whether notes on this sheet are editable.
    Syntax
    'Declaration
     
    Public Property AllowNoteEdit As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim value As Boolean
     
    instance.AllowNoteEdit = value
     
    value = instance.AllowNoteEdit
    public bool AllowNoteEdit {get; set;}

    Property Value

    Boolean: true to allow notes on a sheet to be editable; false otherwise
    Remarks
    This is the property that sets whether cell notes can be edited.
    Example
    This example allows the cell notes to be edited.
    fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development"); 
    fpSpread1.ActiveSheet.Cells[0, 0].NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
    fpSpread1.ActiveSheet.AllowNoteEdit = true;
    
    FpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development") 
    FpSpread1.ActiveSheet.Cells(0, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote
    FpSpread1.ActiveSheet.AllowNoteEdit = True
    See Also