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

CustomWorkTimeEventHandler Delegate

A method that handles the SchedulerControl.CustomWorkTime event.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll

Declaration

public delegate void CustomWorkTimeEventHandler(
    object sender,
    CustomWorkTimeEventArgs e
);
Public Delegate Sub CustomWorkTimeEventHandler(
    sender As Object,
    e As CustomWorkTimeEventArgs
)

Parameters

Name Type Description
sender Object

The event source. This parameter identifies the SchedulerControl control which raised the event.

e CustomWorkTimeEventArgs

A CustomWorkTimeEventArgs object which contains event data.

Remarks

When creating a CustomWorkTimeEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also