Skip to main content

TextBrick.StringFormat Property

Gets or sets the formatting string applied to the brick’s text.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public BrickStringFormat StringFormat { get; set; }

Property Value

Type Description

A BrickStringFormat object which represents the formatting string for the brick’s text.


Use the StringFormat property to specify text layout information (such as alignment, orientation and tab stops) and display manipulations (such as ellipsis insertion and national digit substitution).


The string format specified by this property is applied to the text returned by an object of the TextBrick.TextValue property. The TextBrickBase.Text property is set to the resulting text.

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