Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Undo() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SuperEditBase instance.Undo() |
C# | |
---|---|
public virtual void Undo() |
Use this method to undo previous editing, such as typing or cutting a selection to the Clipboard.
Note: In some controls, the Undo method has no effect if the method is called after the control loses the focus. For example, if the user edits the contents of the control, then pushes a button control to undo the last edit, the Undo method might have no effect. |
C# | Copy Code |
---|---|
control.Undo(); |
Visual Basic | Copy Code |
---|---|
control.Undo() |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8