Back to Devexpress

RichEditControl.Selection Property

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-a919e5ea.md

latest1.2 KB
Original Source

RichEditControl.Selection Property

Gets the plain text of the selected range.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public string Selection { get; }
vb
Public ReadOnly Property Selection As String

Property Value

TypeDescription
String

A string with text contained in the selection range.

|

Remarks

To get the formatted text of the selection, use the RichEditControl.SelectionRTF property.

See Also

SelectionRTF

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace