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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.