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

DateEditRangeSettings.MinDayCount Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(-1)]
public int MinDayCount { get; set; }

Property Value

Type Default Description
Int32 -1

A Int32 value that specifies the minimum number of days.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to MinDayCount
ASP.NET Controls and MVC Extensions ASPxDateEdit
.DateRangeSettings .MinDayCount
DateEditProperties
.DateRangeSettings .MinDayCount
RibbonDateEditProperties
.DateRangeSettings .MinDayCount
ASP.NET MVC Extensions MVCxColumnDateEditProperties
.DateRangeSettings .MinDayCount
MVCxDateEdit
.DateRangeSettings .MinDayCount
MVCxDateEditProperties
.DateRangeSettings .MinDayCount

Remarks

The ASPxDateEdit control provides the capability to select a date range. You can use the MinDayCount and DateEditRangeSettings.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