Skip to main content

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.v14.2.dll

#Declaration

[Browsable(false)]
public SchedulerViewRepository Views { get; }

#Property Value

Type Description
SchedulerViewRepository

A SchedulerViewRepository object which stores the settings of the scheduler views.

#Remarks

The SchedulerControl 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