SchedulerControl.ActiveViewChanging Event
Occurs when the scheduler control is changing its active view.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Event Data
The ActiveViewChanging event's handler receives an argument of the ActiveViewChangingEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether changing the currently active view should be canceled. |
New |
Gets the new value of the Scheduler |
Old |
Gets the old value of the Scheduler |
#Remarks
Handle the ActiveViewChanging event to perform specific actions every time the scheduler's active view is changing. The old and new view types can be accessed via the ActiveViewChangingEventArgs.OldView and ActiveViewChangingEventArgs.NewView properties, correspondingly.
Note that the current active view of the scheduler can be accessed via its SchedulerControl.ActiveView property.