SPREAD for WPF 3.0J - GcSpreadGrid
FormatString プロパティ
使用例 

GrapeCity.Windows.SpreadGrid 名前空間 > GeneralCellType クラス : FormatString プロパティ
値を書式設定するために使用される書式文字列を取得または設定します。
シンタックス
'宣言
 
Public Property FormatString As String
public string FormatString {get; set;}

プロパティ値

値を書式設定するために使用される書式文字列。
使用例
次のサンプルはGeneralCellTypeを作成し幾つかのプロパティを設定します。
public void CreateGeneralCell1()
{
GeneralCellType generalCellType1 = new GeneralCellType();

//ALT+ENTER will insert a new line in editing element.
generalCellType1.AcceptsReturn = true;
//The input text will be formatted automatically. For example, if you input '1', that will be formatted to number 1 automatically.
generalCellType1.FormatString = "General";
//The input text will NOT be formatted automatically, that always treated as text.
//generalCellType.FormatString = null;

this._gcSpreadGrid1[0, 0].CellType = generalCellType1;
}
Public Sub CreateGeneralCell1()
Dim generalCellType1 As New GeneralCellType()

'ALT+ENTER will insert a new line in editing element.
generalCellType1.AcceptsReturn = True
'The input text will be formatted automatically. For example, if you input '1', that will be formatted to number 1 automatically.
generalCellType1.FormatString = "General"
'The input text will NOT be formatted automatically, that always treated as text.
'generalCellType.FormatString = null;

Me._gcSpreadGrid1(0, 0).CellType = generalCellType1
End Sub
参照

GeneralCellType クラス
GeneralCellType メンバ