Back to Devexpress

DateEditRangeSettings.MaxDayCount Property

aspnet-devexpress-dot-web-dot-dateeditrangesettings-b62a2abb.md

latest2.5 KB
Original Source

DateEditRangeSettings.MaxDayCount Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Int320

A Int32 value that specifies the maximum number of days.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to MaxDayCount
ASPxDateEdit

.DateRangeSettings .MaxDayCount

| | DateEditProperties |

.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

RangeErrorText

MinErrorText

MinDayCount

Date Range

Online Demo: Date Range Picker

DateEditRangeSettings Class

DateEditRangeSettings Members

DevExpress.Web Namespace