Skip to main content
Tab

GridColumnDateRangePickerSettings.MaxDate Property

Specifies the maximum date allowed to be selected in the header filter’s date range picker by an end-user.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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.

Remarks

When a date column’s GridDataColumnHeaderFilterSettings.Mode property is set to DateRangePicker, the column header filter displays a date range picker control, allowing end-users to specify a required date range.

Use the GridColumnDateRangePickerSettings.MinDate and MaxDate properties to limit user input to dates falling within a specific range. Dates which are out of this range cannot be selected 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 GridColumnDateRangePickerSettings.MinDate and MaxDate property values.

See Also