Skip to main content

SchedulerControl.WorkDays Property

Gets the collection of days assigned to a workweek.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

[Browsable(false)]
public WorkDaysCollection WorkDays { get; }

#Property Value

Type Description
WorkDaysCollection

A DevExpress.XtraScheduler.WorkDaysCollection object which identifies workdays.

#Remarks

Use the WorkDays property to identify which week days should be workdays. This information is used by the Work-Week View, which displays workdays only. By default, Monday, Tuesday, Wednesday, Thursday and Friday are regarded as workdays. The WorkDays property lets you set a different set of workdays.

The settings of the Work-Week View are specified by the SchedulerControl.WorkWeekView property.

#Examples

This example demonstrates how to customize the Work-Week View within the SchedulerControl. 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.

See Also