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.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public DrawEventArgs(
    IGraphics gr,
    RectangleF bounds,
    VisualBrick brick
)

Parameters

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