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

TextBrickBase.Text Property

Gets or sets the text to be displayed within the current brick.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

[DefaultValue("")]
public override string Text { get; set; }

Property Value

Type Default Description
String String.Empty

A String representing the text to be displayed within the brick.

Remarks

The text specified by this property is obtained from the TextBrick.TextValue property after applying the formatting specified by the TextBrick.StringFormat property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Text 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