Skip to main content
A newer version of this page is available. .

CalendarControlBase.SelectionMode Property

Gets or sets whether a single date, or multiple dates can be simultaneously selected.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(CalendarSelectionMode.Single)]
[DXCategory("Behavior")]
public CalendarSelectionMode SelectionMode { get; set; }

Property Value

Type Default Description
CalendarSelectionMode Single

The selection mode.

Available values:

Name Description
Single

End-user is allowed to select a single date only.

Multiple

Multiple dates can be selected.

Remarks

Use the CalendarControlBase.SelectedRanges to access the selected dates.

See Also