Skip to main content

DisplayDate Property

Gets or sets the date to display.

Definition​

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

public DateTime DisplayDate { get; set; }

Property Value​

DateTime
The date to display. The default is Today.

Exceptions​

ArgumentOutOfRangeExceptionThe specified date is not in the range defined by DisplayDateStart and DisplayDateEnd.

See Also​

Reference​

CalendarDatePicker Class
Avalonia.Controls Namespace