Spread Windows Forms 8.0 Product Documentation
NoteStyle Enumeration
Example Example 


Specifies how the cell notes are displayed.
Syntax
'Declaration
 
Public Enum NoteStyle 
   Inherits System.Enum
'Usage
 
Dim instance As NoteStyle
public enum NoteStyle : System.Enum 
Members
MemberDescription
HiddenDoes not display the cell note or the cell note indicator
PopupNoteDisplays the cell note as a floating object only when the mouse is over the cell note indicator
PopupStickyNoteDisplays the cell sticky note as a floating object only when the mouse is over the cell note indicator
StickyNoteAlways displays the cell note as a movable box
Example
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.NoteStyle

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

FarPoint.Win.Spread Namespace
NoteStyle Property (Cell Class)
NoteStyle Property (StyleInfo Class)

User-Task Documentation

Adding a Note to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.