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.v21.1.dll


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

Property Value

Type Default Description


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


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.


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

See Also