Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDropDownCalendar Class / MaxDate Property


In This Topic
    MaxDate Property (GcDropDownCalendar)
    In This Topic
    Gets or sets the maximum date that can be shown in the control. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property MaxDate As Date
    'Usage
     
    Dim instance As GcDropDownCalendar
    Dim value As Date
     
    instance.MaxDate = value
     
    value = instance.MaxDate
    public DateTime MaxDate {get; set;}

    Property Value

    A System.DateTime value indicates the maximum date that can be shown in the control. The default is 12/31/9999.
    Remarks
    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