A newer version of this page is available. Switch to the current version.

DayView.WorkTime Property

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

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v18.2.dll

Declaration

public TimeOfDayInterval WorkTime { get; set; }
Public Property WorkTime As TimeOfDayInterval

Property Value

Type Description
TimeOfDayInterval

A TimeOfDayInterval value representing the work time interval.

Remarks

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.

NOTE

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