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.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public SchedulerViewRepository Views { get; }
#Property Value
Type | Description |
---|---|
Scheduler |
A Scheduler |
#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.