Skip to main content

WorkWeekView Class

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public class WorkWeekView :
    DayView,
    IWorkWeekViewProperties,
    IDayViewProperties,
    ISchedulerViewPropertiesBase,
    ISchedulerPropertiesBase,
    INotifyPropertyChanging,
    INotifyPropertyChanged

#Returned By

Properties that return WorkWeekView instances:

#Remarks

The scheduler control has five view types that provide different arrangements and formats for scheduling and viewing appointments. The WorkWeekView class represents the Work-Week View. This type of view enables end-users to schedule and view user events by the work week (Saturdays and Sundays are not displayed).

DXScheduler_WorkWeekView

To specify which days are regarded as work days, use the SchedulerControl.WorkDays property.

All views are stored in the scheduler's view repository, which can be accessed via the SchedulerControl.Views property. To access the settings of the Work-Week View use the SchedulerViewRepository.WorkWeekView or 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