Skip to main content
All docs
V25.1
  • 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.v25.1.Core.dll

    NuGet Package: DevExpress.Printing.Core

    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