Tab
A newer version of this page is available. Switch to the current version.

DateEditRangeSettings.MaxDayCount Property

Gets or sets the maximum number of days in a range.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(0)]
public int MaxDayCount { get; set; }
<DefaultValue(0)>
Public Property MaxDayCount As Integer

Property Value

Type Default Description
Int32

0

A Int32 value that specifies the maximum 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 ASPxDateEdit
.DateRangeSettings.MaxDayCount
DateEditProperties
.DateRangeSettings.MaxDayCount
MVCxColumnDateEditProperties
.DateRangeSettings.MaxDayCount
MVCxDateEdit
.DateRangeSettings.MaxDayCount
MVCxDateEditProperties
.DateRangeSettings.MaxDayCount
MVCxDateEditProperties
.DateRangeSettings.MaxDayCount
RibbonDateEditProperties
.DateRangeSettings.MaxDayCount
ASP.NET Bootstrap Controls BootstrapDateEdit
.DateRangeSettings.MaxDayCount
BootstrapDateEditProperties
.DateRangeSettings.MaxDayCount

Remarks

The ASPxDateEdit control provides the capability to select a date range. You can use the DateEditRangeSettings.MinDayCount and MaxDayCount properties to limit the number of days in a range.

NOTE

The editor's date range settings should specified for the end-date ASPxDateEdit control. The properties specified for the start-date editor are not in effect.

See Also