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


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
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

Cell Class
Cell Members
NoteStyle Enumeration

User-Task Documentation

Adding a Note to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.