Skip to main content
A newer version of this page is available. .
Tab

GridColumnDateRangePickerSettings.DisabledDates Property

Provides access to a collection of dates disabled in the header filter’s date range picker.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(typeof(DateTimeCollection), "")]
public DateTimeCollection DisabledDates { get; }

Property Value

Type Default Description
DateTimeCollection String.Empty

A DateTimeCollection object that is a collection of dates to be disabled in a date range picker control.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DisabledDates
ASP.NET Controls and MVC Extensions TreeListColumnSettingsHeaderFilter
.DateRangePickerSettings .DisabledDates
CardViewDataColumnHeaderFilterSettings
.DateRangePickerSettings .DisabledDates
GridViewDataColumnHeaderFilterSettings
.DateRangePickerSettings .DisabledDates
VerticalGridDataRowHeaderFilterSettings
.DateRangePickerSettings .DisabledDates
ASP.NET Bootstrap Controls BootstrapCardViewDataColumnHeaderFilterSettings
.DateRangePickerSettings .DisabledDates
BootstrapGridViewDataColumnHeaderFilterSettings
.DateRangePickerSettings .DisabledDates

Remarks

The DisabledDates property stores a collection of DateTime objects that denote disabled dates. It provides methods that allow you to add new and remove existing dates. Individual items can be accessed using indexed notation.

Note that dates specified by the DisabledDates collection are disabled on both the client and server sides.

See Also