Skip to main content

BootstrapCalendarProperties.MaxDate Property

Gets or sets the maximum date allowed to be entered into the editor by an end-user.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

[DefaultValue(typeof(DateTime), "")]
public DateTime MaxDate { get; set; }

Property Value

Type Default Description
DateTime String.Empty

A DateTime object that specifies the editor’s maximum allowed date.

Remarks

Use the BootstrapCalendarProperties.MinDate and MaxDate properties to limit user input to dates falling within a specific range. The MaxDate property specifies the upper limit of the allowed date range. Dates which are out of the specified range cannot be entered into the calendar by end-users.

Note that programmatic manipulation on the calendar editor’s value isn’t limited by the BootstrapCalendarProperties.MinDate and MaxDate property values.

Note

The MaxDate property synchronizes its value with the calendar’s BootstrapCalendar.MaxDate property.

See Also