Spread Windows Forms 12.0 Product Documentation
FormatString Property (GcTextBoxCellType)
Example 


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.
Syntax
'Declaration
 
Public Property FormatString As String
'Usage
 
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.
Remarks
This property specifies what kind of characters and symbols can be entered.
Example
This example uses the FormatString property.
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;
Dim inputcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
'Symbols
inputcell.FormatString = "@"
fpSpread1.Sheets(0).Cells(0, 0).CellType = inputcell
See Also

Reference

GcTextBoxCellType Class
GcTextBoxCellType Members