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

GridColumnDateRangePickerSettings.MaxDayCount Property

Specifies the maximum number of days in a range.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int MaxDayCount { get; set; }

Property Value

Type Default Description
Int32 0

A Int32 value that specifies the number of days.

Property Paths

You can access this nested property as listed below:

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

Remarks

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

You can use the GridColumnDateRangePickerSettings.MinDayCount and MaxDayCount properties to limit the number of days in a range.

See Also