'Declaration Public Function New()
'Usage Dim instance As New NumberMoneyPatternDisplayFieldInfo()
public NumberMoneyPatternDisplayFieldInfo()
'Declaration Public Function New()
'Usage Dim instance As New NumberMoneyPatternDisplayFieldInfo()
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