Skip to main content

TextEdit.DeselectAll() Method

Clears text box selection.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

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