Skip to main content

DrawEventArgs(IGraphics, RectangleF, VisualBrick) Constructor

Initializes a new instance of the DrawEventArgs class with the specified settings.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v22.2.dll

NuGet Package: DevExpress.Reporting.Core


public DrawEventArgs(
    IGraphics gr,
    RectangleF bounds,
    VisualBrick brick


Name Type Description
gr IGraphics

A IGraphics object used to draw report components. This value is assigned to the DrawEventArgs.UniGraphics property.

bounds RectangleF

A RectangleF object specifying the control’s bounding rectangle. This value is assigned to the DrawEventArgs.Bounds property.

brick VisualBrick

A VisualBrick object specifying control’s contents for a report’s document. This value is assigned to the DrawEventArgs.Brick property.

See Also