Spread Windows Forms 11.0 Product Documentation
AlternateText Property (GcTextBoxCellType)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcTextBoxCellType Class : AlternateText Property
Gets the alternate text of the GcTextBox control.
Syntax
'Declaration
 
Public ReadOnly Property AlternateText As TextBoxAlternateTextInfo
'Usage
 
Dim instance As GcTextBoxCellType
Dim value As TextBoxAlternateTextInfo
 
value = instance.AlternateText
public TextBoxAlternateTextInfo AlternateText {get;}

Property Value

A TextBoxAlternateText value that indicates the alternate text.
Remarks
If the current value is System.String.Empty and this control has input focus, this GcTextBox.Text property equals the TextBoxAlternateText.Null setting, which is not null. The GcTextBox.Text property equals the TextBoxAlternateText.DisplayNull setting if the current value is a null reference (Nothing in Visual Basic) and this control does not contain the input focus.
Example
This example uses the AlternateText property.
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
textcell.AlternateText.DisplayNull.Text = "test";
fpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
textcell.AlternateText.DisplayNull.Text = "test"
fpSpread1.Sheets(0).Cells(0, 0).CellType = textcell
See Also

Reference

GcTextBoxCellType Class
GcTextBoxCellType Members