Skip to main content
All docs
V22.2

BrickSelector.GetBricksByTag(Document, Object) Method

A static method that returns an enumeration of visual bricks with the specified tag from a document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design

Declaration

public static IEnumerable<VisualBrick> GetBricksByTag(
    Document document,
    object tag
)

Parameters

Name Type Description
document Document

The document from which to return bricks.

tag Object

The tag value. A brick is returned if its tag value matches the specified value.

Returns

Type Description
IEnumerable<VisualBrick>

Bricks from the specified document.

See Also