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

CustomWorkTimeEventArgs(DateTimeRange, ResourceItem) Constructor

Initializes a new instance of the CustomWorkTimeEventArgs class with the specified settings.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public CustomWorkTimeEventArgs(
    DateTimeRange interval,
    ResourceItem resource
)

Parameters

Name Type Description
interval DateTimeRange

A DateTimeRange object that is the interval for which a work time is obtained.

resource ResourceItem

A ResourceItem object that is the resource for which a work time is obtained.

Remarks

Instances of the CustomWorkTimeEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also