wpf-devexpress-dot-xpf-dot-editors-dot-datenavigator-dot-datenavigator-bc55113e.md
Gets or sets a value that specifies how users can select dates. This is a dependency property.
Namespace : DevExpress.Xpf.Editors.DateNavigator
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DateNavigatorSelectionMode SelectionMode { get; set; }
Public Property SelectionMode As DateNavigatorSelectionMode
| Type | Description |
|---|---|
| DateNavigatorSelectionMode |
Specifies the selection mode.
|
Available values:
| Name | Description |
|---|---|
| Default |
Range selection by mouse clicks is disabled.
| | Range |
Consecutive clicks on two dates result in range selection.
|
Set the SelectionMode property to Range to allow users to use mouse clicks to select the date range in the calendar.
DateNavigator.SelectionMode property is set to Range, the DateNavigator.IsMultiSelect property is ignored.DateNavigator.SelectionMode property is set to Range, the DateNavigator.AllowMultipleRanges property has no effect. Users can only select a single continuous range.DateNavigator.SelectionMode is set to Range, the selected date range skips the deactivated date or dates.DateNavigator.SelectionMode property is available only for the Month view of the calendar.See Also