ToolStripTextBox.ClearUndo Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Clears information about the most recent operation from the undo buffer of the ToolStripTextBox.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void ClearUndo()

You can use this method to prevent an undo operation from repeating, based on the state of your application.

.NET Framework
Available since 2.0
Return to top