ToolStripTextBox.CanUndo Property


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

Gets a value indicating whether the user can undo the previous operation in a ToolStripTextBox control.

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

public bool CanUndo { get; }

Property Value

Type: System.Boolean

true if the user can undo the previous operation performed in a text box control; otherwise, false.

If this method returns true, you can call the Undo method to undo the last operation in a ToolStripTextBox.

.NET Framework
Available since 2.0
Return to top