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


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