DxCalendar<T>.MinDate Property

Specifies the minimum date that can be selected in the calendar.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public DateTime MinDate { get; set; }

Property Value

Type Description
DateTime

A DateTime value that specifies the minimum date.

Remarks

Use the MinDate and MaxDate properties to specify a range of available dates. The calendar disables dates that are out of the range and hides navigation arrows for them.

The default minimum and maximum values are System.DateTime.MinValue and System.DateTime.MaxValue.

NOTE

The maximum date should be greater than the minimum date. Otherwise, an exception occurs.

<DxCalendar T="DateTime" MinDate="@(new DateTime(2020, 06, 11))" MaxDate="@(new DateTime(2020, 06, 25))" />

The maximum date

Run Demo: Calendar — Date Range

Watch Video

See Also