Skip to main content

SchedulerControl.WorkDays Property

Gets the collection of days assigned to a workweek.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Package: DevExpress.Wpf.Scheduler


public WorkDaysCollection WorkDays { get; }

Property Value

Type Description

A WorkDaysCollection object which identifies workdays.



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.

Use the WorkDays property to identify which week days should be workdays. This information is used by the Work-Week View, which by default, displays only workdays and does not display the other days. The settings of the Work-Week View are specified by the SchedulerControl.WorkWeekView property.

By default, Monday, Tuesday, Wednesday, Thursday and Friday are regarded as workdays. The WorkDays property lets you set a different set of workdays.


This example demonstrates how to customize the Work-Week View within the Scheduler control.

To do this, it is necessary to modify the WorkWeekView object accessed via the SchedulerControl.WorkWeekView property. To specify work days to be displayed within the WorkWeek View, use the SchedulerControl.WorkDays property.

View Example

    <dxsch:WorkWeekView ShowFullWeek="False">
            <dxsch:SchedulerDayViewAppointmentDisplayOptions ShowRecurrence="False" 
                    EndTimeVisibility="Always" />
            <dxschcore:TimeOfDayInterval Start="09:30:00" End="18:30:00" />
            <dxschcore:TimeOfDayInterval Start="08:00:00" End="20:00:00" />
See Also