Skip to main content
A newer version of this page is available. .

WorkWeekView.ShowFullWeek Property

Gets or sets a value indicating whether the Work-Week View should show all the days of the week.

Namespace: DevExpress.Xpf.Scheduler

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduler, DevExpress.Wpf.Scheduler

Declaration

public bool ShowFullWeek { get; set; }

Property Value

Type Description
Boolean

true to show the full week; otherwise, false.

Remarks

Important

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.

By default, the Work-Week View displays only work days. If, for some reason, that is not desired, you can force the scheduler to display all the days of the week in this view by changing the property value to true.

To define which days of the week are work days, use the SchedulerControl.WorkDays property.

Example

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:SchedulerControl.WorkWeekView>
    <dxsch:WorkWeekView ShowFullWeek="False">
        <dxsch:WorkWeekView.AppointmentDisplayOptions>
            <dxsch:SchedulerDayViewAppointmentDisplayOptions ShowRecurrence="False" 
                    ShowReminder="False" 
                    TimeDisplayType="Text" 
                    StatusDisplayType="Never" 
                    StartTimeVisibility="Always" 
                    EndTimeVisibility="Always" />
        </dxsch:WorkWeekView.AppointmentDisplayOptions>
        <dxsch:WorkWeekView.WorkTime>
            <dxschcore:TimeOfDayInterval Start="09:30:00" End="18:30:00" />
        </dxsch:WorkWeekView.WorkTime>
        <dxsch:WorkWeekView.VisibleTime>
            <dxschcore:TimeOfDayInterval Start="08:00:00" End="20:00:00" />
        </dxsch:WorkWeekView.VisibleTime>
    </dxsch:WorkWeekView>
</dxsch:SchedulerControl.WorkWeekView>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowFullWeek property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also