Skip to main content

TcxCustomDateEditProperties.MaxDate Property

Specifies the latest date available for selection and input.

Declaration

property MaxDate: TDateTime read; write;

Property Value

Type Description
TDateTime

The highest date/time value available for selection and input in the date editor.

If the property is unspecified, the valid date range has no upper bound.

If MinDate and MaxDate property values are equal, the date editor has no input value limitations.

Remarks

You can use MinDate and MaxDate properties to limit the range of date/time values available for user input. If the date range limit is defined, the Value out of bounds exception occurs on an attempt to post a value outside the valid range.

Tip

In addition, you can set the ShowOnlyValidDates property to True to allow users to select only the values within the valid range in the date editor’s drop-down calendar.

See Also