The requested page is not available for the requested platform. You are viewing the content for Default platform.

SchedulerControl.Views Property

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

Namespace: DevExpress.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v19.2.dll

Declaration

public SchedulerViewCollection Views { get; }
Public ReadOnly Property Views As SchedulerViewCollection

Property Value

Type Description
DevExpress.UI.Xaml.Scheduler.SchedulerViewCollection

A collection that stores all views specified in the scheduler.

Remarks

Views help organize Scheduler data by levels of detail.

  • DayView - the most detailed view that displays appointments for a specific date.

  • WorkWeekView - displays appointments for work days in a specific week. The SchedulerControl.WorkDays property specifies the work days.

  • WeekView - displays appointments for a specific week.

  • MonthView - displays appointments for a specific month.

End-users can select the desired view in the panel at the top right.

The Views property provides access to the collection of available views. If you declare any view in XAML, the Views collection is overwritten to include only the specified views. The SchedulerControl.ActiveViewIndex property specifies the displayed view by its zero-based index in the Views collection.

See Also