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.v24.1.dll

NuGet Package: 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