Skip to main content

DateRangeAttribute.MaxLength Property

Gets or sets the maximum length of the date range.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public int MaxLength { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the maximum date range’s length.

Remarks

Use the DateRangeAttribute.MinLength property to specify the minimum length of the date range.

See Also