DateRangeAttribute.MinDayCount Property
Gets or sets the minimum number of days in a range.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
Int32 | A Int32 value that specifies the minimum number of days. |
Remarks
The DateEdit provides the capability to select a date range. You can use the DateRangeAttribute.MaxDayCount and MinDayCount properties to limit the number of days in a range.
Note
The DateRangeAttribute attribute should decorate the model field to which the end DateEdit is bound. The attribute that decorates the model field for the start-date editor is not in effect.
See Also