CalendarDatePickerText Property

Gets or sets the text that is displayed by the CalendarDatePicker.

Definition

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

Property Value

String
The text displayed by the CalendarDatePicker.

Exceptions

FormatException The text entered cannot be parsed to a valid date, and the exception is not suppressed.
ArgumentOutOfRangeException The text entered parses to a date that is not selectable.

See Also