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.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to show work hours only; otherwise, false. |
Remarks
Use the SchedulerControl.WorkTime property to specify the time interval for the working day.
Note
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowWorkTimeOnly 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.