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

Declaration

[DefaultValue(typeof(DateTime), "")]
public DateTime MaxDate { get; set; }
<DefaultValue(GetType(Date), "")>
Public Property MaxDate As Date

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