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.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v19.2.dll

Declaration

public int ActiveViewIndex { get; set; }
Public Property ActiveViewIndex As Integer

Property Value

Type Description
Int32

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

Remarks

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 Views collection, which stores all views defined in the control.

Use the 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