Skip to main content

TextBrick.TextValue Property

SECURITY NOTE

Deserializing layout settings from untrusted resources may create security issues. Serializable System.Object properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Safe Deserialization.

Gets an object which represents the value that will be shown as the brick’s text.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Primitive)]
public override object TextValue { get; set; }

Property Value

Type Description
Object

A Object which represents the text value that will be shown as the brick’s text.

Remarks

After the string format specified by the TextBrick.StringFormat property has been applied to the text value specified by the TextValue property, the resulting value is set to the TextBrickBase.Text property.

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