Skip to main content
A newer version of this page is available. .

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

NuGet Package: DevExpress.Web.Scheduler

Declaration

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.

Remarks

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

Note

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

See Also