The requested page is not available for the requested platform. You are viewing the content for Default platform.

TextEdit.SelectedText Property

Gets or sets the text selected within the editor.

Namespace: DevExpress.UI.Xaml.Editors

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

Declaration

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

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