Skip to main content

ActiveViewChangingEventArgs Class

Provides data for the SchedulerControl.ActiveViewChanging event.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public class ActiveViewChangingEventArgs :
    EventArgs

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The SchedulerControl.ActiveViewChanging event occurs when the Scheduler control is changing its active view.The ActiveViewChangingEventArgs class provides the ActiveViewChangingEventArgs.NewView and ActiveViewChangingEventArgs.OldView properties, specifying the new and old view types, and the ActiveViewChangingEventArgs.Cancel property, indicating whether changing of the currently active view should be canceled.

Note, that ActiveViewChangingEventArgs objects are automatically created, initialized and passed to the SchedulerControl.ActiveViewChanging event handlers.

Inheritance

Object
EventArgs
ActiveViewChangingEventArgs
See Also