Skip to main content

DxCalendar<T>.SelectedDate Property

Specifies the selected date.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll


public T SelectedDate { get; set; }

Property Value

Type Description

The data type.


Use the SelectedDate property to specify a selected date or to bind the date to a model’s field. The calendar supports DateTime and Nullable DateTime data types.

<DxCalendar @bind-SelectedDate="@SelectedDate" />

    DateTime SelectedDate { get; set; } = DateTime.Now;

The SelectedDateChanged event occurs each time the selection changes.

To enable multiple date selection in the calendar, set the EnableMultiSelect property to true. The SelectedDates collection stores all the selected dates.

See Also