[]
Gets or sets the maximum possible value of the range element.
public DateTime MaxDate { get; set; }
Public Property MaxDate As Date
Type | Description |
---|---|
DateTime | A DateTime value which indicates the maximum date of GcDateTime. |
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.