Skip to main content
A newer version of this page is available. .

ASPxScheduler.ActiveViewChanging Event

Occurs when the Scheduler control is about to change its active View.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll

Declaration

public event ActiveViewChangingEventHandler ActiveViewChanging

Event Data

The ActiveViewChanging event's data class is ActiveViewChangingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets whether the change of active view should be cancelled.
NewView Gets the new value of the ASPxScheduler.ActiveView property.
OldView Gets the value of the ASPxScheduler.ActiveView property before modification.

Remarks

Handle the ActiveViewChanging event to perform an action every time the scheduler’s active view is changing. You can find out what type of view is currently active and change it via the ASPxScheduler.ActiveViewType property.

See Also