Skip to main content
A newer version of this page is available. .

Classes Hierarchy: Bricks

  • 2 minutes to read

This document introduces the class hierarchy of bricks, available in the XtraPrinting Library. For more information on the brick concept, refer to the Bricks document.

The brick genealogy begins with the abstract BrickBase class. It provides essential properties and methods, which are common to all bricks. The BrickBase class has two inheritors - the Brick class and Page class.

This basic hierarchy is represented in the scheme below.

Brick New Object Model - Base

The Brick class is the base for all the varieties of bricks.

The Brick class inheritance hierarchy is illustrated in the following diagram:

Brick New Object Model

Note

The CompositeBrick class is used for internal purposes only. This brick combines multiple visual bricks and defines how to render contained bricks on a page.

The EmptyBrick class is not displayed within reports, and is used for service purposes only. It allows you to combine bricks across separate groups.

The UserVisualBrick and UserPageBrick classes represent a user implementation of the IBrick interface added to a report via the IBrickGraphics.DrawBrick method. Also, you can create your own brick, which can inherit from any brick.

For more information about particular brick types, refer to the corresponding topics.

See Also