Spread Windows Forms 8.0 Product Documentation
AllowNoteEdit Property
Example 


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

SheetView Class
SheetView Members
Note Property

User-Task Documentation

Adding a Note to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.