Skip to main content
A newer version of this page is available. .

TextEdit.DeselectAll() Method

Clears text box selection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll

NuGet Packages: DevExpress.Win.Design, 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