Skip to main content

DateNavigatorQueryActiveViewTypeEventArgs Class

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.1.Core.Desktop.dll

Declaration

public class DateNavigatorQueryActiveViewTypeEventArgs :
    EventArgs

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.

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.

Inheritance

Object
EventArgs
DateNavigatorQueryActiveViewTypeEventArgs
See Also