Spread Windows Forms 7.0 Product Documentation
ErrorText Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : ErrorText Property


Glossary Item Box

Gets or sets error text for this cell.

Syntax

Visual Basic (Declaration) 
Public Property ErrorText As String
Visual Basic (Usage)Copy Code
Dim instance As Cell
Dim value As String
 
instance.ErrorText = value
 
value = instance.ErrorText
C# 
public string ErrorText {get; set;}

Example

This example displays an error icon.
C#Copy Code
fpSpread1.ShowCellErrors = true;
fpSpread1.Sheets[0].Cells[1, 1].ErrorText = "CellError";
fpSpread1.Sheets[0].Cells[1, 1].Locked = true;
VB.NETCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.