Skip to main content

DayViewBase.ShowWorkTimeOnly Property

Gets or sets a value indicating whether the SchedulerControl should show its data only for the working hours in the Day View, Work Week View, and Week View. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.1.dll

NuGet Package: DevExpress.Wpf.Scheduling


public bool ShowWorkTimeOnly { get; set; }

Property Value

Type Description

true, to show work hours only; otherwise, false.


Use the SchedulerControl.WorkTime property to specify the time interval for the working day.


If the DayViewBase.ShowWorkTimeOnly option is true, and the SchedulerControl.WorkTime and DayViewBase.VisibleTime properties are set to different intervals, the scheduler displays an interval that is an intersection of the specified intervals.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowWorkTimeOnly property.


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