VisualBrick.Text Property

Gets or sets the text associated with the VisualBrick.

Namespace: DevExpress.XtraPrinting

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

Declaration

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

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

Implements

DevExpress.XtraPrinting.IVisualBrick.Text
See Also