Gets or sets the input format to use in the control.
Syntax
Visual Basic (Declaration) | |
---|
Public Property FormatString As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GcTextBoxCellType
Dim value As String
instance.FormatString = value
value = instance.FormatString |
C# | |
---|
public string FormatString {get; set;} |
Property Value
The string that is used to control how text is entered.
The default is
System.String.Empty.
Remarks
Example
This example uses the FormatString property.
C# | Copy Code |
---|
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
//Symbols
inputcell.FormatString = "@";
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell; |
VB.NET | Copy Code |
---|
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
'Symbols
inputcell.FormatString = "@"
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell |
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