The requested page is not available for the requested platform. You are viewing the content for Default platform.

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
Public Event ActiveViewChanging As ActiveViewChangingEventHandler

Event Data

The ActiveViewChanging event handler receives an argument of the ActiveViewChangingEventArgs type. 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