Skip to main content
A newer version of this page is available. .

XRRichText.Rtf Property

Bindable. Gets or sets the text of the XRRichText control, including all the Rich Text Format (RTF) codes.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

public override string Rtf { get; set; }

Property Value

Type Description
String

A String value which represents the control’s text in RTF format.

Remarks

The Rtf property can be used to set the RTF formatted text displayed in the control or to get the RTF formatted text in the XRRichText control.

Note

The Rtf property is bindable, which means that it can be bound to a data field in a report’s data source. To learn more, see the Binding Report Controls to Data section.

Note

When the Rtf property is bound to a data field, the control’s content is obtained from the data source with all text formatting. So, changes applied to the text formatting at the control’s level aren’t in effect.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Rtf 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