Spread Windows Forms 12.0 Product Documentation
FormatString Property (GcTextBoxCellType)

GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcTextBoxCellType Class : FormatString Property
Gets or sets the input format to use in the control.
Public Property FormatString As String
Dim instance As GcTextBoxCellType
Dim value As String
instance.FormatString = value
value = instance.FormatString
public string FormatString {get; set;}

Property Value

The string that is used to control how text is entered.
The default is System.String.Empty.
This property specifies what kind of characters and symbols can be entered.
This example uses the FormatString property.
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell.FormatString = "@";
fpSpread1.Sheets[0].Cells[0, 0].CellType = inputcell;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
inputcell.FormatString = "@"
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
See Also


GcTextBoxCellType Class
GcTextBoxCellType Members