FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > CurrencyCellType クラス : SpinDecimalIncrement プロパティ |
'Declaration
Public Property SpinDecimalIncrement As Single
'使用法
Dim instance As CurrencyCellType Dim value As Single instance.SpinDecimalIncrement = value value = instance.SpinDecimalIncrement
public float SpinDecimalIncrement {get; set;}
この増分量は、カーソルが小数点区切り記号の右側にあり、値が1未満に制限されていない場合に適用されます。
FarPoint.Win.Spread.CellType.CurrencyCellType crcycell = new FarPoint.Win.Spread.CellType.CurrencyCellType(); crcycell.SpinButton = true; crcycell.SpinDecimalIncrement = 0.5F; crcycell.SpinIntegerIncrement = 5; crcycell.SpinWrap = true; crcycell.MaximumValue = 500; crcycell.MinimumValue = -100; fpSpread1.Sheets[0].Cells[6,2].CellType = crcycell; fpSpread1.Sheets[0].Cells[6,2].Value = 443.3482;
Dim curr As New FarPoint.Win.Spread.CellType.CurrencyCellType() curr.SpinButton = True curr.SpinDecimalIncrement = 0.5 curr.SpinIntegerIncrement = 5 curr.SpinWrap = True curr.MaximumValue = 500 curr.MinimumValue = -100 FpSpread1.ActiveSheet.Cells(0, 0).CellType = curr FpSpread1.ActiveSheet.Cells(0, 0).Value = 443.3482