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

RichEditControl.RtfText Property

Gets or sets the formatted text content of the control.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

[Bindable(true)]
[Browsable(false)]
public string RtfText { get; set; }

Property Value

Type Description
String

A string, containing the document’s content in rich text format.

Remarks

Use this property to display a string of RTF text by means of the RichEditControl.

Assigning the RtfText property value results in a new loaded document that is imported from the rich text format. Check the RtfText property value when the RichEditControl.DocumentLoaded event handler, i.e. when the document is fully loaded.

See Also