Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / ShowCellErrors Property
Example


In This Topic
    ShowCellErrors Property (FpSpread)
    In This Topic
    Gets or sets whether to allow the user to display row error by icon in the component.
    Syntax
    'Declaration
     
    Public Property ShowCellErrors As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim value As Boolean
     
    instance.ShowCellErrors = value
     
    value = instance.ShowCellErrors
    public bool ShowCellErrors {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