Skip to main content

RichEditControl.SelectionRTF Property

Gets the formatted text contained in the selected area of the document.

Namespace: DevExpress.Xpf.RichEdit

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

#Declaration

public string SelectionRTF { get; }

#Property Value

Type Description
String

A string containing the RTF text of the selection.

#Remarks

To retrieve plain text, use the RichEditControl.Selection property.

The entire text of the document is available via the RichEditControl.Text (plain text) and RichEditControl.RtfText (formatted text) properties.

See Also