DateNavigatorQueryActiveViewTypeEventArgs Class
Provides data for the SchedulerControl.DateNavigatorQueryActiveViewType and SchedulerControl.DateNavigatorQueryActiveViewType events.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.1.Core.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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DateNavigatorQueryActiveViewTypeEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.