SchedulerControl.Views Property

Contains the settings of the Views that are used to represent information within the Scheduler control.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

[Browsable(false)]
public SchedulerViewRepository Views { get; }
<Browsable(False)>
Public ReadOnly Property Views As SchedulerViewRepository

Property Value

Type Description
SchedulerViewRepository

A SchedulerViewRepository object which stores the settings of the Scheduler control Views.

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.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The Scheduler control provides a number of Views that can be used to represent information on appointments in a specific manner. You can use the Views property to access the settings of all the available Views. For instance, the SchedulerViewRepository.DayView property contains the settings of the Day View, which allows end-users to schedule and display appointments by day.

The SchedulerControl object also has a number of properties which are synchronized with the corresponding properties (Views) of the SchedulerViewRepository object. For instance, the SchedulerControl.DayView property is synchronized with the SchedulerViewRepository.DayView property. Although the Views property is not visible via the Properties window at design time, it can be accessed via code.

NOTE

The currently selected View is determined by the SchedulerControl.ActiveViewType property. Use this property to select another View.

See Also