Skip to main content

DateNavigator.IsMultiSelect Property

Gets or sets a value indicating if end-users can select several dates at the same time in the DateNavigator control.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

#Declaration

public bool IsMultiSelect { get; set; }

#Property Value

Type Description
Boolean

true to allow multiple dates to be selected at the same time; otherwise, false.

#Remarks

Use the IsMultiSelect property to specify if selection of multiple dates in the DateNavigator control is allowed.

DateNavigator_IsMultiSelect

To limit the number of days that end-users can simultaneously select within the DateNavigator control, use the DateNavigator.MaxSelectionLength property.

#Examples

This example demonstrates how to customize the DateNavigator control. To do this, it is necessary to modify the DateNavigator object.

<dxe:DateNavigator HighlightSpecialDates="True"
                   HighlightHolidays="True"
                   ShowTodayButton="True"
                   ShowWeekNumbers="True"
                   WeekNumberRule="FirstDay"
                   FirstDayOfWeek="Sunday"
                   IsMultiSelect="True"
                   MaxSelectionLength="3"/>
See Also