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

CustomDrawObjectEventHandler Delegate

A method that handles the custom draw events of the SchedulerControl.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

Declaration

public delegate void CustomDrawObjectEventHandler(
    object sender,
    CustomDrawObjectEventArgs e
);

Parameters

Name Type Description
sender Object

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

e CustomDrawObjectEventArgs

A CustomDrawObjectEventArgs object which contains event data.

Remarks

When creating a CustomDrawObjectEventHandler 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.

The event handler of this class is used for the following custom draw events:

See Also