Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property AlternateText As DateAlternateTextInfo |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As GcDateTimeCellType Dim value As DateAlternateTextInfo value = instance.AlternateText |
C# | |
---|---|
public DateAlternateTextInfo AlternateText {get;} |
Property Value
A DateAlternateText value that indicates the alternate text.This property is set to show alternative text when the control value is empty era or null in edit mode and display mode.
This example uses the AlternateText property.
C# | ![]() |
---|---|
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); datecell.AlternateText.DisplayNull.Text = "test"; fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell; |
VB.NET | ![]() |
---|---|
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() datecell.AlternateText.DisplayNull.Text = "test" FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8