Back to Devexpress

TextEdit.DeselectAll() Method

windowsforms-devexpress-dot-xtraeditors-dot-textedit-807cf855.md

latest1.4 KB
Original Source

TextEdit.DeselectAll() Method

Clears text box selection.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override void DeselectAll()
vb
Public Overrides Sub 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

SelectAll()

SelectedText

SelectionLength

SelectionStart

TextEdit Class

TextEdit Members

DevExpress.XtraEditors Namespace