Skip to main content
All docs
V23.2

Brick.Tag Property

Gets or sets the object that contains additional data associated with the control.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

[DefaultValue("")]
public object Tag { get; set; }

Property Value

Type Default Description
Object String.Empty

An object that contains arbitrary information.

Remarks

The Tag value is retrived from the XRControl.Tag property value when the report is rendered.

You can use the Tag property as follows: specify the XRControl.Tag value in the Report Designer and examine the Brick.Tag value in the AfterPrint event handler to locate bricks originated from the tagged report controls and highlight them.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Tag property.

Note

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