Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / NumberDecimalPartDisplayField Class / MaxDigits Property


In This Topic
    MaxDigits Property (NumberDecimalPartDisplayField)
    In This Topic
    Gets or sets the maximum digits of the NumberDecimalPartDisplayField.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(28)>
    Public Property MaxDigits As Integer
    'Usage
     
    Dim instance As NumberDecimalPartDisplayField
    Dim value As Integer
     
    instance.MaxDigits = value
     
    value = instance.MaxDigits
    [DefaultValue(28)]
    public int MaxDigits {get; set;}

    Property Value

    An System.Int32 value means the max length of decimal part. The default value is 28.
    Exceptions
    ExceptionDescription
    The assigned value is less than MinDigits or greater than 28.
    See Also