Skip to main content

TextEdit.Reset() Method

Resets selection and caret position in the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override void Reset()

Remarks

The Reset method unselects the selected text, if any, and moves the caret to the first position in the editor.

To unselect the text without affecting caret position, see the TextEdit.DeselectAll method.

See Also