Skip to main content

TextEdit.DeselectAll() Method

Clears text box selection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override void DeselectAll()

Remarks

Use the DeselectAll method to deselect the selected text in the editor. The caret is positioned at the start of the selection. After the method is called, the TextEdit.SelectionLength property returns 0 indicating that no text is selected.

See Also