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.1.dll

Declaration

public event QueryWorkTimeEventHandler QueryWorkTime
Public Event QueryWorkTime As QueryWorkTimeEventHandler

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