Skip to main content

ASPxScheduler.QueryWorkTime Event

Occurs when the scheduler’s view calculates the work time interval for the specific resource.

Namespace: DevExpress.Web.ASPxScheduler

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


public event QueryWorkTimeEventHandler QueryWorkTime

Event Data

The QueryWorkTime event's data class is QueryWorkTimeEventArgs. The following properties provide information specific to this event:

Property Description
Interval Gets the time interval for which the working time is queried.
Resource Gets the resource for which the working time interval is queried.
WorkTime Gets or sets the working time interval.
WorkTimes Provides access to the collection of work times specified for a single day.


Handle this event for a particular scheduler’s View to adjust the resource’s work time interval.


When different work time intervals are specified in the ASPxScheduler.QueryWorkTime event handler, the DayView.ShowWorkTimeOnly option has no effect.

See Also