Spread ASP.NET 6.0 Product Documentation
Note Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : Note Property


Glossary Item Box

Gets or sets the note for a cell.

Syntax

Visual Basic (Declaration) 
Public Property Note As String
Visual Basic (Usage)Copy Code
Dim instance As Cell
Dim value As String
 
instance.Note = value
 
value = instance.Note
C# 
public string Note {get; set;}

Property Value

String containing the note for this cell

Remarks

When the pointer is over a cell that has a cell note, the cell note text displays in a little box next to the cell. Cells with notes do not display any indication that they have a note, other than displaying the note when the pointer moves over the cell.

You cannot put notes in cells in the column or row headers.

Example

This example creates a Cell object and supplies a note for the cell. When the user passes the mouse over the cell, a note appears at the mouse pointer.
C#Copy Code
FarPoint.Web.Spread.Cellmycell;
FarPoint.Web.Spread.Insetmargin=newFarPoint.Web.Spread.Inset(20,40,50,20);
mycell=FpSpread1.Cells[0,0];
mycell.Text="NoteTest";
mycell.Locked=true;
mycell.Margin=margin;
mycell.Note="ThisistheNote";
FpSpread1.ActiveSheetView.Rows[0].Height=80;
Visual BasicCopy Code
DimmycellAsFarPoint.Web.Spread.Cell
DimmarginAsNewFarPoint.Web.Spread.Inset(20,40,50,20)
mycell=FpSpread1.Cells(0,0)
mycell.Text="NoteTest"
mycell.Locked=True
mycell.Margin=margin
mycell.Note="ThisistheNote"
FpSpread1.ActiveSheetView.Rows(0).Height=80

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.