Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / GeneralEditor Class / DecimalIncrement Property
Example


In This Topic
    DecimalIncrement Property
    In This Topic
    Sets the amount by which the value increments when the cursor is in the decimal portion.
    Syntax
    'Declaration
     
    Public Property DecimalIncrement As Single
    'Usage
     
    Dim instance As GeneralEditor
    Dim value As Single
     
    instance.DecimalIncrement = value
     
    value = instance.DecimalIncrement
    public float DecimalIncrement {get; set;}

    Property Value

    Single-precision, floating-point number to use as an increment
    Example
    FarPoint.Win.Spread.CellType.GeneralEditor ge = (FarPoint.Win.Spread.CellType.GeneralEditor)fpSpread1.EditingControl; 
    ge.BorderStyle = BorderStyle.Fixed3D; 
    ge.DecimalIncrement = 2;
    
    Dim ge As FarPoint.Win.Spread.CellType.GeneralEditor = CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor)
    ge.BorderStyle = BorderStyle.Fixed3D
    ge.DecimalIncrement = 2
    See Also