Back to Devexpress

CustomDrawObjectEventHandler Delegate

windowsforms-devexpress-dot-xtrascheduler-572f8ace.md

latest3.2 KB
Original Source

CustomDrawObjectEventHandler Delegate

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public delegate void CustomDrawObjectEventHandler(
    object sender,
    CustomDrawObjectEventArgs e
);
vb
Public Delegate Sub CustomDrawObjectEventHandler(
    sender As Object,
    e As CustomDrawObjectEventArgs
)

Parameters

NameTypeDescription
senderObject

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

DevExpress.XtraScheduler Namespace