Skip to main content
All docs
V22.2

BrickSelector.GetBricksByTag(IEnumerable<Page>, Object) Method

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

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(
    IEnumerable<Page> pages,
    object tag
)

Parameters

Name Type Description
pages IEnumerable<Page>

The pages 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 pages.

See Also