Spread Windows Forms 12.0 Product Documentation
ErrorText Property (Cell)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : ErrorText Property
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

Reference

Cell Class
Cell Members