aspnet-devexpress-dot-web-dot-dateeditrangesettings-9827c8ee.md
Gets or sets the minimum number of days in a range.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(-1)]
public int MinDayCount { get; set; }
<DefaultValue(-1)>
Public Property MinDayCount As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | -1 |
A Int32 value that specifies the minimum number of days.
|
You can access this nested property as listed below:
| Object Type | Path to MinDayCount |
|---|---|
| ASPxDateEdit |
.DateRangeSettings .MinDayCount
| | DateEditProperties |
.DateRangeSettings .MinDayCount
|
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