xtrareports-devexpress-dot-xtrareports-dot-ui-dot-subreportbase-fafc65a4.md
Overrides the XRControl.Draw event.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[Browsable(false)]
public override event DrawEventHandler Draw
<Browsable(False)>
Public Overrides Event Draw As DrawEventHandler
The Draw event's data class is DrawEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Bounds | Gets a rectangle object specifying the height, width and location of the control. |
| Brick | Gets a visual brick that represents this control’s contents on a report page. |
| UniGraphics | Provides access to an object that is used to draw report components. |
The event data class exposes the following methods:
| Method | Description |
|---|---|
| GetPageVisualBricksEnumerator() | For internal use. Returns an enumerator containing visual bricks generated for all report controls on this page. |
This event is overridden to hide the corresponding event of the XRControl class, since the Draw event isn’t appropriate for the SubreportBase control.
See Also