Skip to main content

VisualBrick.Text Property

Gets or sets the text associated with the VisualBrick.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public virtual string Text { get; set; }

Property Value

Type Description
String

Always returns Empty.

Remarks

Use this property to set text for the visual brick. This property is used when exporting this brick in a text format (except formats for that the TextExportMode property is set to Value).

You can use the VisualBrick.TextValue property to set the brick’s original value. You can also apply a format to the TextValue property’s value and assign the result to the Text property.

Set the VisualBrick.TextValueFormatString property to format the TextValue property’s value when:

  • exporting this brick to formats that the TextExportMode property is set to Value;
  • the brick’s edit mode is enabled (the document contains the editing field associated with this visual brick).

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