Spread for ASP.NET 9.0 Product Documentation
ErrorMessage Property (TextCellType)
Example 


Gets or sets the error message for the cell type. This property is used by the derived classes.
Syntax
'Declaration
 
Public Overridable Property ErrorMessage As String
'Usage
 
Dim instance As TextCellType
Dim value As String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
public virtual string ErrorMessage {get; set;}
Example
This example sets the ErrorMessage property.
FarPoint.Web.Spread.TextCellType textcell = new FarPoint.Web.Spread.TextCellType();
textcell.ErrorMessage = "Error";            
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = textcell;
Dim textcell As New FarPoint.Web.Spread.TextCellType()
textcell.ErrorMessage = "Error"
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = textcell
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

TextCellType Class
TextCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.