Skip to main content

TextEdit.Undo() Method

Undoes the last edit operation in the text control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public void Undo()


This method will undo the last Clipboard or text change operation performed in the editor. The TextEdit.CanUndo property indicates whether the previous operation can be undone. If the operation cannot be undone, the Undo method does nothing.

See Also