Skip to main content

SubreportBase.Draw Event

Overrides the XRControl.Draw event.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[Browsable(false)]
public override event DrawEventHandler Draw

Event Data

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.

Remarks

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