Calendar.

SelectionMode Property

Summary

Gets or sets a value that indicates what kind of selections are allowed.
Namespace
Avalonia.Controls
Containing Type
Calendar

Syntax

public CalendarSelectionMode SelectionMode { get; set; }

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.

Value

Type Description
CalendarSelectionMode A value that indicates the current selection mode. The default is System.Windows.Controls.CalendarSelectionMode.SingleDate.