SchedulerControl.ActiveView Property
Provides access to the View currently used by the Scheduler to show its data.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
#Declaration
[Browsable(false)]
public SchedulerViewBase ActiveView { get; }
#Property Value
Type | Description |
---|---|
Scheduler |
A Scheduler |
#Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.
Note that the ActiveView property is read-only. So, it’s possible to change the current view’s properties, but the ActiveView property’s value cannot be assigned to an instance of another view.
If you want to change the type of the currently active View instead, set the SchedulerControl.ActiveViewType property to one of the SchedulerViewType enumeration values. Also, handle the SchedulerControl.ActiveViewChanging and SchedulerControl.ActiveViewChanged events, to perform any actions every time the active View is changing or changed.