Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDateTime Class / MinDate Property


In This Topic
    MinDate Property (GcDateTime)
    In This Topic
    Gets or sets the minimum possible value of the range element.
    Syntax
    'Declaration
     
    Public Property MinDate As Date
    'Usage
     
    Dim instance As GcDateTime
    Dim value As Date
     
    instance.MinDate = value
     
    value = instance.MinDate
    public DateTime MinDate {get; set;}

    Property Value

    A System.DateTime value which indicates the minimum date of GcDateTime.
    Remarks

    Its default value is DateTime.MinValue. When user spin the Value property exceed the MinDate, the value will be validated after GcDateTime lost keyboard focus.

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

    See Also