Skip to main content

SelectedDateFormat Property

Gets or sets the format that is used to display the selected date.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public CalendarDatePickerFormat SelectedDateFormat { get; set; }

Property Value

CalendarDatePickerFormat
The format that is used to display the selected date. The default is Short.

Exceptions

ArgumentOutOfRangeExceptionAn specified format is not valid.

See Also

Reference

CalendarDatePicker Class
Avalonia.Controls Namespace