Skip to main content

TextEdit.SelectedText Property

Gets or sets the text selected within the editor.

Namespace: DevExpress.UI.Xaml.Editors

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public string SelectedText { get; set; }

Property Value

Type Description
String

A string value that is the currently selected text.

Remarks

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