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.v24.2.Core.dll

Declaration

public BrickStringFormat StringFormat { get; set; }

Property Value

Type Description
BrickStringFormat

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

Remarks

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).

Note

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 snippet (auto-collected from DevExpress Examples) contains a reference to the StringFormat 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