Back to Devexpress

DateEditRangeSettings.MinDayCount Property

aspnet-devexpress-dot-web-dot-dateeditrangesettings-9827c8ee.md

latest2.5 KB
Original Source

DateEditRangeSettings.MinDayCount Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Int32-1

A Int32 value that specifies the minimum number of days.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to MinDayCount
ASPxDateEdit

.DateRangeSettings .MinDayCount

| | DateEditProperties |

.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

RangeErrorText

MinErrorText

MaxDayCount

Date Range

Online Demo: Date Range Picker

DateEditRangeSettings Class

DateEditRangeSettings Members

DevExpress.Web Namespace