TextEditBase.Undo() Method

Undoes the last edit operation in the text control.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public virtual void Undo()
Public Overridable Sub Undo

Remarks

If the editor is masked, it stores only one previous value of its content. In this instance, calling the Undo method several times in succession results in switching the editor's content between the current and the previous values. If the editor is unmasked, multiple previous values can be restored.

An end-user can undo the last edit operation by pressing the CTRL+Z key combination.

See Also