Tab

GridColumnDateRangeCalendarSettings.MaxDate Property

Specifies the maximum date allowed to be entered into the header filter calendar by an end-user.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

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

Property Value

Type Default Description
DateTime

String.Empty

A DateTime object that specifies the maximum allowed date.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to MaxDate
ASP.NET Bootstrap Controls BootstrapCardViewDataColumnHeaderFilterSettings
BootstrapGridViewDataColumnHeaderFilterSettings
ASP.NET Web Forms Controls TreeListColumnSettingsHeaderFilter
CardViewDataColumnHeaderFilterSettings
GridViewDataColumnHeaderFilterSettings
VerticalGridDataRowHeaderFilterSettings

Remarks

When a date column’s GridDataColumnHeaderFilterSettings.Mode property is set to DateRangeCalendar, the column header filter displays a calendar, allowing end-users to select a required date or period.

Use the GridColumnDateRangeCalendarSettings.MinDate and MaxDate properties to limit user input to dates falling within a specific range. Dates which are out of the specified range cannot be entered into the calendar editor by end-users. These dates are displayed using a specific style and don’t respond to user clicks.

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

See Also