Skip to main content

DayView.WorkTime Property

Gets or sets the work time interval for a Day View.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v22.1.dll


public TimeOfDayInterval WorkTime { get; set; }

Property Value

Type Description

A TimeOfDayInterval value representing the work time interval.


When the DayView.ShowWorkTimeOnly property is set to true, use the WorkTime property to restrict the data shown in a Day View to the hours in a working day. Note that working hours have a lighter color than non-working hours. This allows end-users to easily distinguish these two periods with the Day View, if both working and non-working hours are visible.


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

See Also