Back to Devexpress

DateNavigator.AllowMultipleRanges Property

wpf-devexpress-dot-xpf-dot-editors-dot-datenavigator-dot-datenavigator-9daf6d3b.md

latest1.6 KB
Original Source

DateNavigator.AllowMultipleRanges Property

Gets or sets whether the DateNavigator allows end users to select multiple date ranges. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.DateNavigator

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool AllowMultipleRanges { get; set; }
vb
Public Property AllowMultipleRanges As Boolean

Property Value

TypeDescription
Boolean

true, to allow users to select multiple ranges; false, to allow users to select a single date range only.

|

Remarks

Use the DateNavigator.SelectedDates property to obtain a collection of selected dates.

The animation below demonstrates multiple date range selection.

See Also

DateNavigator Class

DateNavigator Members

DevExpress.Xpf.Editors.DateNavigator Namespace