Skip to main content

CustomPrintEventArgs.Brick Property

Provides access to the brick that represents the contents and appearance of a cell, when it is printed or exported.

Namespace: DevExpress.PivotGrid.Printing

Assembly: DevExpress.PivotGrid.v22.1.Core.dll


public IVisualBrick Brick { get; set; }

Property Value

Type Description

An object implementing the DevExpress.XtraPrinting.IVisualBrick interface or its descendant (e.g., DevExpress.XtraPrinting.ITextBrick, DevExpress.XtraPrinting.IImageBrick, etc.).


Use the Brick property to access a VisualBrick object (or its descendant), which will represent the current cell of a PivotGridControl that is being printed or exported.

The brick‘s properties allow you to customize the brick’s content, as well as its size, location, appearance and other options.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Brick property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also