Back to Devexpress

DateNavigator.NavigationMode Property

windowsforms-devexpress-dot-xtrascheduler-dot-datenavigator-bdc73ae4.md

latest1.9 KB
Original Source

DateNavigator.NavigationMode Property

Gets or sets the mode that defines how a selection behaves when navigating dates in the control.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(DateNavigationMode.MoveSelection)]
[DXCategory("Behavior")]
public DateNavigationMode NavigationMode { get; set; }
vb
<DefaultValue(DateNavigationMode.MoveSelection)>
<DXCategory("Behavior")>
Public Property NavigationMode As DateNavigationMode

Property Value

TypeDefaultDescription
DateNavigationModeMoveSelection

A DateNavigationMode enumeration member that specifies how a selection behaves during date navigation.

|

Available values:

NameDescription
ScrollCalendar

Keep the selection at the position and scroll only months.

| | MoveSelection |

Each time you switch month, the selection moves with the month.

|

See Also

DateNavigator Class

DateNavigator Members

DevExpress.XtraScheduler Namespace