DateEdit.UpdateSelectionWhenNavigating Property
Gets or sets whether navigating to another month automatically selects the same range of days in that month.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v25.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | false |
|
Remarks
The UpdateSelectionWhenNavigating property requires SyncSelectionWithEditValue to be set to false.
The following animation illustrates how a selected range is transferred when navigating to a different month. If days 1–5 are selected in March and the user navigates to April, the calendar automatically selects days 1–5 in April.

The following code snippet enables automatic range transfer on navigation:
using DevExpress.XtraEditors.Repository;
dateEdit1.Properties.SelectionMode = CalendarSelectionMode.Multiple;
dateEdit1.SyncSelectionWithEditValue = false;
dateEdit1.UpdateSelectionWhenNavigating = true;