SchedulerControl.ActiveViewIndex Property

Gets or sets the index of the view currently used by the SchedulerControl to show its data. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v21.2.dll


public int ActiveViewIndex { get; set; }

Property Value

Type Description

An integer value specifying a zero-based index of the active view in the SchedulerControl.Views collection.


The ActiveViewIndex property allows you to change the type of view currently active in the SchedulerControl. To do this, set the ActiveViewIndex property to the index of the required view in the SchedulerControl.Views collection, which stores all views defined in the control.

Use the SchedulerControl.ActiveView property to access the current scheduler view. To check whether a given view is active, use the view’s ViewBase.IsActive property.

See Also