HeaderPane
Main
Hide
Share Link
Print

MaxDate Property, SftDate Object

Defines the latest date that can be selected.

Syntax

Get

C#DateTime Date = object.MaxDate;
VB.NETDate = object.MaxDate As Date
C++DATE Date = object->MaxDate;
DATE Date = object->GetMaxDate();
CHRESULT object->get_MaxDate(DATE* Date);

Put

C#DateTime object.MaxDate = Date;
VB.NETobject.MaxDate = Date As Date
C++DATE object->MaxDate = Date;
void object->PutMaxDate(DATE Date);
CHRESULT object->put_MaxDate(DATE Date);

object

A SftDate object.

Date

Defines the latest date that can be selected.

Comments

The MaxDate property defines the latest date the control accepts. The default is December 31, 9999. p The user cannot enter, select or scroll to a later date; later days are shown disabled in the calendar. A date field control applies the date and time, a month calendar control only the date. The dropdown calendar of a date field control uses the same limits. p If the value or the selected range lies outside the new limits, it is moved inside and the control raises the ValueChanged (or RangeChanged) event. The earliest date is defined using the MinDate property.

See Also SftDate Object | Object Hierarchy | Values


Last Updated 11/29/2026 - (email)
© 2026 Softel vdm, Inc.