Skip to main content
A newer version of this page is available. .

TcxCustomDateEditProperties.MinDate Property

Specifies the lower limit for the entered date/time value.

Declaration

property MinDate: TDateTime read; write;

Property Value

Type
TDateTime

Remarks

Use the MaxDate and MinDate properties to specify the range of input date/time values for a date/time editor’s Date property. Once the range is specified, a user can post only a date/time value within this range; otherwise, the “Value out of bounds” exception is raised. If the MaxDate and MinDate property values are equal, the editor accepts any date/time value. You can localize the exception message via the cxSEditValueOutOfBounds resource string.

You can help end-users select valid dates in the editor’s dropdown calendar by setting the ShowOnlyValidDates property to True.

Note

The MaxDate, MinDate, and Date properties are wrappers that provide date-time value equivalents for the MaxValue, MinValue, and EditValue properties.

See Also