DateNavigatorQueryActiveViewTypeEventArgs Class
Provides data for the SchedulerControl.DateNavigatorQueryActiveViewType and SchedulerControl.DateNavigatorQueryActiveViewType events.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
Declaration
Remarks
The SchedulerControl.DateNavigatorQueryActiveViewType event occurs after the bound DateNavigator control changes its selected dates. The event arguments allow you to get the selected dates via the DateNavigatorQueryActiveViewTypeEventArgs.SelectedDays property and decide whether to change the active view type by specifying the DateNavigatorQueryActiveViewTypeEventArgs.NewViewType property value or leave it as proposed by the DateNavigator. The currently active view type is available via the DateNavigatorQueryActiveViewTypeEventArgs.OldViewType property.
An instance of the DateNavigatorQueryActiveViewTypeEventArgs class with appropriate settings is automatically created and passed to the corresponding event’s handler.