Back to Devexpress

DrawEventHandler Delegate

xtrareports-devexpress-dot-xtrareports-dot-ui-bc63220b.md

latest1.6 KB
Original Source

DrawEventHandler Delegate

A method that will handle the XRControl.Draw event.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Parameters

NameTypeDescription
senderObject

The source of the event.

| | e | DrawEventArgs |

A DrawEventArgs object that provides data for the XRControl.Draw event.

|

Remarks

When creating a DrawEventHandler delegate, you identify the method that will handle the corresponding event. To associate the event with your event handler, add a delegate instance to the event. The event handler is called whenever the event occurs unless you remove the delegate.

See Also

DevExpress.XtraReports.UI Namespace