Skip to main content
All docs
V24.2

BrickSelector.GetBricks<TBrick>(Document) Method

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public static IEnumerable<TBrick> GetBricks<TBrick>(
    Document document
)
    where TBrick : VisualBrick

Parameters

Name Type Description
document Document

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

See Also