Calendar.

SelectedDate Property

Summary

Gets or sets the currently selected date.
Namespace
Avalonia.Controls
Containing Type
Calendar

Syntax

public DateTime? SelectedDate { get; set; }

Remarks

Use this property when SelectionMode is set to SingleDate. In other modes, this property will always be the first date in SelectedDates.

Value

Type Description
DateTime? The date currently selected. The default is null.