Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Cell Class / Note Property
Example


In This Topic
    Note Property
    In This Topic
    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 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.
    FarPoint.Web.Spread.Cell mycell;
    FarPoint.Web.Spread.Inset margin = new FarPoint.Web.Spread.Inset(20,40,50,20);
    mycell = FpSpread1.Cells[0,0];
    mycell.Text="Note Test";
    mycell.Locked=true;
    mycell.Margin=margin;
    mycell.Note="This is the Note";
    FpSpread1.ActiveSheetView.Rows[0].Height=80;
    Dim mycell As FarPoint.Web.Spread.Cell
    Dim margin As New FarPoint.Web.Spread.Inset(20,40,50,20)
    mycell=FpSpread1.Cells(0,0)
    mycell.Text="Note Test"
    mycell.Locked=True
    mycell.Margin=margin
    mycell.Note="This is the Note"
    FpSpread1.ActiveSheetView.Rows(0).Height=80
    See Also