MESCIUS SPREAD for Windows Forms 17.0J
NumberMoneyPatternDisplayFieldInfo コンストラクタ()

NumberMoneyPatternDisplayFieldInfo クラスの新しいインスタンスを初期化します。
構文
'Declaration
 
Public Function New()
public NumberMoneyPatternDisplayFieldInfo()
GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberMoneyPatternDisplayFieldInfo mfield = new GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberMoneyPatternDisplayFieldInfo();
mfield.BackColor = Color.Yellow;
mfield.Pattern = "###[##:百]";  //or mfield.Pattern = "###[###:K]";
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
ncell1.DisplayFields.Add(mfield);
ncell1.PaintByControl = true;
fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
fpSpread1.ActiveSheet.Cells[1, 1].Value = 7000;
Dim mfield As New GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberMoneyPatternDisplayFieldInfo()
mfield.BackColor = Color.Yellow
mfield.Pattern = "###[##:百]"   'or mfield.Pattern = "###[###:K]";
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.DisplayFields.Add(mfield)
ncell1.PaintByControl = True
FpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
FpSpread1.ActiveSheet.Cells(1, 1).Value = 7000
参照

NumberMoneyPatternDisplayFieldInfo クラス
NumberMoneyPatternDisplayFieldInfo メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.