Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcNumber Class / MinValue Property


In This Topic
    MinValue Property
    In This Topic
    Gets or sets a decimal value indicate the minimum of range control.
    Syntax
    'Declaration
     
    <TypeConverterAttribute(System.ComponentModel.DecimalConverter)>
    Public Property MinValue As Decimal
    'Usage
     
    Dim instance As GcNumber
    Dim value As Decimal
     
    instance.MinValue = value
     
    value = instance.MinValue
    [TypeConverter(System.ComponentModel.DecimalConverter)]
    public decimal MinValue {get; set;}
    Remarks

    MinValue controls the minimum of Value no matter the programmatic way or user interaction. When Value is beyond the MinValue, the value will be validated when when control lost keyboard focus according to the ControlValidatorSet setting.

    Set MinValue greater than MaxValue, MaxValue will change to same as MinValue; Set MaxValue less than MinValue, the MinValue won't change and the MaxValue changes to same as MinValue.

    See Also