Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DoubleCellType.EditModeSettings Class / DecimalDigits Property
Example


In This Topic
    DecimalDigits Property (DoubleCellType.EditModeSettings)
    In This Topic
    Gets or sets the number of decimal digits to display in edit mode.
    Syntax
    'Declaration
     
    Public Property DecimalDigits As Integer
    'Usage
     
    Dim instance As DoubleCellType.EditModeSettings
    Dim value As Integer
     
    instance.DecimalDigits = value
     
    value = instance.DecimalDigits
    public int DecimalDigits {get; set;}
    Remarks
    If the EditMode property is set and the user enters edit mode in the cell, the value is displayed in the editor using the edit mode format. If the EditMode property is set and the user leaves edit mode in the cell, the value is converted to the display format if it is valid. If the EditMode property is not set, the display format is applied after the cell is updated (default behavior).
    Example
    This example sets a format for edit mode.
    See Also