A newer version of this page is available. Switch to the current version.

VisualBrick.Text Property

Gets or sets the text associated with the VisualBrick.

Namespace: DevExpress.XtraPrinting

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


public virtual string Text { get; set; }
Public Overridable Property Text As String

Property Value

Type Description

Always returns Empty.


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


See Also