Skip to main content

SchedulerControl.ActiveViewType Property

Gets or sets the type of the View which is currently used by the SchedulerControl to show its data.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v22.1.dll

NuGet Package: DevExpress.Wpf.Scheduler


public SchedulerViewType ActiveViewType { get; set; }

Property Value

Type Default Description
SchedulerViewType Day

A SchedulerViewType enumeration value specifying the active View type.

Available values:

Name Description

Specifies the DayView. This view lets end-users schedule and view appointments by day.


Specifies the WeekView. This view lets end-users schedule and view appointments by week in a compact form.


Specifies the MonthView. This view lets end-users schedule and view appointments across several weeks.


Specifies the WorkWeekView. This view displays appointments for the working days in a particular week.


Specifies the TimelineView. This view displays appointments as horizontal bars along the timescales, and provides end-users with a clearer overview for scheduling purposes.


Specifies the GanttView. This view lets end-users schedule and view appointments as tasks with dependencies and show information on task completion status.


Specifies the FullWeekView. This view allows end-users to schedule and view appointments by the entire week.


Specifies the AgendaView. This view allows end-users to list appointments by day.


Specifies the YearView. This view displays appointments for the entire year.



You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

To access the current View of the scheduler, use the SchedulerControl.ActiveView property.


This example demonstrates how to provide end-users with the capability to change the type of View that is currently active in the Scheduler control.

The code below illustrates how to use the RadioButtonList control for this. This control should be bound to a ArrayList object, which contains items equivalent to the SchedulerViewType enumeration values. Then, it is necessary to bind the RadioButtonList.SelectedValue property value to the SchedulerControl.ActiveViewType property of the Scheduler control.

View Example

<GroupBox Header="View Types" Grid.Column="0">
    <dx:RadioButtonList x:Name="viewType" Margin="4" 
        HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
        SelectedValue="{Binding ElementName=schedulerControl1, Path=ActiveViewType, Mode=TwoWay}">
See Also