Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumber Class / MaxValue Property


In This Topic
    MaxValue Property (GcNumber)
    In This Topic
    Gets or sets the maximum allowable value when spin the control by field or value.
    Syntax
    'Declaration
     
    
    Public Property MaxValue As Decimal
    'Usage
     
    
    Dim instance As GcNumber
    Dim value As Decimal
     
    instance.MaxValue = value
     
    value = instance.MaxValue
    public decimal MaxValue {get; set;}

    Property Value

    A System.Decimal value indicates the maximum allowable value.
    Exceptions
    ExceptionDescription
    The value is less than MinValue or greater than the defalut value.
    See Also