Skip to main content
A newer version of this page is available. .
All docs
V20.2

BrickSelector.GetBricks<TBrick>(IEnumerable<Page>) Method

A static method that returns an enumeration of visual brick descendants from document pages.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public static IEnumerable<TBrick> GetBricks<TBrick>(
    IEnumerable<Page> pages
)
    where TBrick : VisualBrick

Parameters

Name Type Description
pages IEnumerable<Page>

The pages from which to return bricks.

Type Parameters

Name Description
TBrick

The type of bricks to return.

Returns

Type Description
IEnumerable<TBrick>

Bricks from the specified pages.

See Also