CalendarSelectionMode Enum
Definition
Specifies values that describe the available selection modes for a Avalonia.Controls.Calendar.
public enum CalendarSelectionMode
Remarks
This enumeration provides the values that are used by the SelectionMode property.
Fields
| Name | Description |
|---|---|
| MultipleRange | Multiple non-contiguous ranges of dates can be selected. Use the Avalonia.Controls.Calendar.SelectedDates property to retrieve the selected dates. |
| None | No selections are allowed. |
| SingleDate | Only a single date can be selected. Use the Avalonia.Controls.Calendar.SelectedDate property to retrieve the selected date. |
| SingleRange | A single range of dates can be selected. Use Avalonia.Controls.Calendar.SelectedDates property to retrieve the selected dates. |
MultipleRange Field
Multiple non-contiguous ranges of dates can be selected. Use the Avalonia.Controls.Calendar.SelectedDates property to retrieve the selected dates.
public Avalonia.Controls.CalendarSelectionMode MultipleRange
None Field
No selections are allowed.
public Avalonia.Controls.CalendarSelectionMode None
SingleDate Field
Only a single date can be selected. Use the Avalonia.Controls.Calendar.SelectedDate property to retrieve the selected date.
public Avalonia.Controls.CalendarSelectionMode SingleDate
SingleRange Field
A single range of dates can be selected. Use Avalonia.Controls.Calendar.SelectedDates property to retrieve the selected dates.
public Avalonia.Controls.CalendarSelectionMode SingleRange