RepositoryItemDateEdit.SelectionMode Property
Gets or sets whether a single date, or multiple dates can be simultaneously selected.
Namespace: DevExpress.XtraEditors.Repository
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 | A CalendarSelectionMode enumeration value that specifies whether a single date, or multiple dates can be simultaneously selected. |
Available values:
Name | Description |
---|---|
Single | End-user is allowed to select a single date only. |
Multiple | Multiple dates can be selected. |
Remarks
Use the DateEdit.SelectedRanges collection to access the selected dates.
See Also