Share via


ToolWindow.EnableUndo Property

Gets the tool window and enables the Undo command.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property EnableUndo As Boolean
protected virtual bool EnableUndo { get; }
protected:
virtual property bool EnableUndo {
    bool get ();
}
abstract EnableUndo : bool with get 
override EnableUndo : bool with get
function get EnableUndo () : boolean

Property Value

Type: System.Boolean
true if the Undo command should be enabled; otherwise, false.

.NET Framework Security

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace