Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / ErrorText Property
Example


In This Topic
    ErrorText Property (Cell)
    In This Topic
    Gets or sets error text for this cell.
    Syntax
    'Declaration
     
    Public Property ErrorText As String
    'Usage
     
    Dim instance As Cell
    Dim value As String
     
    instance.ErrorText = value
     
    value = instance.ErrorText
    public string ErrorText {get; set;}
    Example
    This example displays an error icon.
    fpSpread1.ShowCellErrors = true;
    fpSpread1.Sheets[0].Cells[1, 1].ErrorText = "CellError";
    fpSpread1.Sheets[0].Cells[1, 1].Locked = true;
    FpSpread1.ShowCellErrors = True
    FpSpread1.Sheets(0).Cells(1, 1).ErrorText = "CellError"
    FpSpread1.Sheets(0).Cells(1, 1).Locked = True
    See Also