Skip to main content

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.WinUI.Scheduler

Assembly: DevExpress.WinUI.Scheduler.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(-1, Handler = "OnActiveViewIndexChanged")]
public int ActiveViewIndex { get; set; }

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