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


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
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

GcTextBoxCellType Class
GcTextBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.