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.v21.2.dll


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.

See Also