Skip to main content

RichEditControl.RtfText Property

Gets or sets the formatted text content of the control.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit


public string RtfText { get; set; }

Property Value

Type Description

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


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