DateNavigator.MaxSelectionLength Property
In This Article
Gets or sets the maximum number of dates that can be selected at the same time within the DateNavigator control.
Namespace: DevExpress.Xpf.Editors.DateNavigator
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | An integer value. |
#Remarks
Use the MaxSelectionLength property to limit the number of days that end-users can simultaneously select within the DateNavigator control, if the DateNavigator.IsMultiSelect property is set to true.
#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