Back to Devexpress

TextEdit.Reset() Method

windowsforms-devexpress-dot-xtraeditors-dot-textedit-51ca57c0.md

latest1.7 KB
Original Source

TextEdit.Reset() Method

Resets selection and caret position in the editor.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Copy()

Cut()

DeselectAll()

Paste()

ScrollToCaret()

SelectAll()

SelectedText

SelectionLength

SelectionStart

TextEdit Class

TextEdit Members

DevExpress.XtraEditors Namespace