Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.RtfText Property

Gets or sets the formatted text content of the control.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v24.2.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