TextEdit.SelectedText Property

Gets or sets the selected text.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

[Browsable(false)]
public string SelectedText { get; set; }
<Browsable(False)>
Public Property SelectedText As String

Property Value

Type Description
String

A String value that specifies the text selected within the text editor.

Remarks

The SelectedText property allows you to obtain the text currently selected within the editor. Setting this property replaces the current selection with the specified string. If no text is selected, a new text is inserted at the cursor location.

See Also