CalendarControlBase.SelectionMode Property
Gets or sets whether a single date, or multiple dates can be simultaneously selected.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: 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
SelectionMode