Skip to main content

ASPxScheduler.ActiveViewChanging Event

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

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.1.dll

NuGet Package: DevExpress.Web.Scheduler

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