Back to Devexpress

RichEditControl.RtfText Property

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-0e4f3dbd.md

latest1.5 KB
Original Source

RichEditControl.RtfText Property

Gets or sets the formatted text content of the control.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
[Bindable(true)]
[Browsable(false)]
public string RtfText { get; set; }
vb
<Bindable(True)>
<Browsable(False)>
Public Property RtfText As String

Property Value

TypeDescription
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

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace