Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerControl.Views Property

Provides access to the collection of the SchedulerControl’s views.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public ViewCollection Views { get; }

#Property Value

Type Description
DevExpress.Xpf.Scheduling.ViewCollection

A collection that stores all views specified in the scheduler.

#Remarks

The SchedulerControl has all views with the default settings enabled out-of-the-box. All these views are stored in the collection, which the Views property returns. However, if you declare any view in XAML or the SchedulerControl’s smart tag, the Views collection is overwritten to include only the specified views. You can define any number of views with the same type and different settings.

To set an active view used by the SchedulerControl to display its data, set the SchedulerControl.ActiveViewIndex property to the index of the required view in the Views collection.

See Also