Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseEdit.Reset() Method

In This Article

Resets the editor’s selection and cursor position.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual void Reset()

#Remarks

As implemented in the BaseEdit class, the Reset method sets the BaseEdit.IsModified property to false. The BaseEdit.IsModified property indicates whether the value of an editor (specified by the BaseEdit.EditValue property) has been modified. The Reset method can be overridden in derived classes to implement actions when the selection and cursor position need to be set to their initial state. For example, this method is overridden in the TextEdit class in order to clear selection, if any, and to move the caret position.

See Also