Text Property
Gets or sets the text that is displayed by the CalendarDatePicker.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public string? Text { get; set; }
Public Property Text As String
Get
Set
member Text : string with 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. |