[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.MaxDate

MaxDate Property

MaxDate

Gets or sets the maximum possible value of the range element.

Declaration
public DateTime MaxDate { get; set; }
Public Property MaxDate As Date
Property Value
Type Description
DateTime

A DateTime value which indicates the maximum date of GcDateTime.

Remarks

Its default value is DateTime.MaxValue. When user spin the Value property exceed the MaxDate, 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.