Skip to main content

SchedulerControl.WorkWeekView Property

Provides access to an object that defines the settings of the scheduler's Work-Week View.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public WorkWeekView WorkWeekView { get; set; }

#Property Value

Type Description
WorkWeekView

A WorkWeekView object that is the Work Week View in the scheduling area.

#Remarks

Use the WorkWeekView property to customize settings of the Work-Week View.

The Work-Week View displays only work days and does not display weekend days. You can use the SchedulerControl.WorkDays collection to specify which week days are regarded as work days. By default, it specifies that Monday, Tuesday, Wednesday, Thursday and Friday are workdays.

DXScheduler_WorkWeekView

NOTE

To make the SchedulerControl control display information using the Work-Week View, set the SchedulerControl.ActiveViewType property to SchedulerViewType.WorkWeek.

#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