TextEdit.SelectedText Property

Gets or sets the text selected within the editor.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v19.2.dll


public string SelectedText { get; set; }
Public Property SelectedText As String

Property Value

Type Description

A string value that is the currently selected text.


Setting the SelectedText property replaces the current selection with the specified string. If no text is selected, a new text is inserted at the cursor location.

The TextEdit.SelectionHighlightBrush property specifies the brush used to highlight the selected text.

See Also