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

RepositoryItemDateEdit.SelectionMode Property

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

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