SchedulerControl.Views Property

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public SchedulerViewRepository Views { get; }
<XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)>
Public ReadOnly Property Views As SchedulerViewRepository

Property Value

Type Description
SchedulerViewRepository

A SchedulerViewRepository object which stores the settings of the calendar Views.

Remarks

The Scheduler Control provides a number of calendar Views that are 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. Although these properties are not visible via the Properties window at design time, they can be accessed via code. For instance, the SchedulerControl.DayView property is synchronized with the SchedulerViewRepository.DayView property.

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

See Also