Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TextCellType Class / ErrorMessage Property

In This Topic
    ErrorMessage Property (TextCellType)
    In This Topic
    Gets or sets the error message for the cell type. This property is used by the derived classes.
    Public Overridable Property ErrorMessage As String
    Dim instance As TextCellType
    Dim value As String
    instance.ErrorMessage = value
    value = instance.ErrorMessage
    public virtual string ErrorMessage {get; set;}
    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
    See Also