SelectionMode Property
Gets or sets a value that indicates what kind of selections are allowed.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public CalendarSelectionMode SelectionMode { get; set; }
Public Property SelectionMode As CalendarSelectionMode
Get
Set
member SelectionMode : CalendarSelectionMode with get, set
Property Value
CalendarSelectionMode
A value that indicates the current selection mode. The default is SingleDate.
Remarks
This property determines whether the Calendar allows no selection, selection of a single date, or selection of multiple dates. The selection mode is specified with the CalendarSelectionMode enumeration.
When this property is changed, all selected dates will be cleared.