Back to Devexpress

SubreportBase.Draw Event

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-subreportbase-fafc65a4.md

latest2.2 KB
Original Source

SubreportBase.Draw Event

Overrides the XRControl.Draw event.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[Browsable(false)]
public override event DrawEventHandler Draw
vb
<Browsable(False)>
Public Overrides Event Draw As DrawEventHandler

Event Data

The Draw event's data class is DrawEventArgs. The following properties provide information specific to this event:

PropertyDescription
BoundsGets a rectangle object specifying the height, width and location of the control.
BrickGets a visual brick that represents this control’s contents on a report page.
UniGraphicsProvides access to an object that is used to draw report components.

The event data class exposes the following methods:

MethodDescription
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

SubreportBase Class

SubreportBase Members

DevExpress.XtraReports.UI Namespace