SchedulerControl.ActiveView Property
Provides access to the view currently used by the scheduler control to show its data.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
[Browsable(false)]
public SchedulerViewBase ActiveView { get; }
<Browsable(False)>
Public ReadOnly Property ActiveView As SchedulerViewBase
Property Value
| Type | Description |
|---|---|
| SchedulerViewBase | A SchedulerViewBase class descendant that is the currently active view. |
Remarks
Note that the ActiveView property is read-only. So, it is 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 (for an example, see How to: Change the Active View document). Also, handle the SchedulerControl.ActiveViewChanging and SchedulerControl.ActiveViewChanged events, to perform any actions every time the active View is changing or changed.