Spread Windows Forms 10.0 Product Documentation
Note Property
Example 


Gets or sets the note for a cell.
Syntax
'Declaration
 
Public Property Note As String
'Usage
 
Dim instance As Cell
Dim value As String
 
instance.Note = value
 
value = instance.Note
public string Note {get; set;}

Property Value

String containing the note for the cell
Remarks

You can attach a note to a cell. This text may include a comment, a question, or documentation describing the origin of the cell's value. A cell that has a note displays a small red indicator (cell note indicator) in the upper right corner of the cell. When the pointer is over a cell indicator of a cell that has a note, the cell note text displays in a box next to the cell.

Cell notes are displayed in a similar manner as text tips. When the pointer is over the cell note indicator, the cell note text appears. For more information, refer to Adding a Note to a Cell.

When the Spread component displays the cell note, the TextTipFetch event occurs. You can display both text tips and cell notes for a cell. For other options, refer to the TextTipPolicy property.

You can use the CellNoteIndicatorVisible property to hide the cell note indicator when the pointer is over the cell note indicator.

There are some limitations to the use and display of cell notes:

Example
This example supplies a note for the cell.
FarPoint.Win.Spread.Cell acell;
acell = fpSpread1.ActiveSheet.Cells[0, 0];
fpSpread1.ActiveSheet.Cells[0, 0].Text = "Note Test";
acell.Note = "This is a note";
Dim acell As FarPoint.Win.Spread.Cell
acell = FpSpread1.ActiveSheet.Cells(0, 0)
FpSpread1.ActiveSheet.Cells(0, 0).Text = "Note Test"
acell.Note = "This is a note"
Requirements

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

See Also

Reference

Cell Class
Cell Members
CellNoteIndicatorVisible Property
TextTipPolicy Property
TextTipFetch Event
GetNote Method
SetNote Method

User-Task Documentation

Adding a Note to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.