CalendarDatePickerSelectedDate Property

Gets or sets the currently selected date.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public DateTime? SelectedDate { get; set; }

Property Value

NullableDateTime
The date currently selected. The default is null.

Exceptions

ArgumentOutOfRangeException The specified date is not in the range defined by DisplayDateStart and DisplayDateEnd, or the specified date is in the BlackoutDates collection.

See Also