Window.AutoHides Property
Gets or sets whether the tool window is able to be hidden.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Property AutoHides As Boolean
bool AutoHides { get; set; }
property bool AutoHides {
bool get ();
void set (bool value);
}
abstract AutoHides : bool with get, set
function get AutoHides () : boolean
function set AutoHides (value : boolean)
Property Value
Type: System.Boolean
true if the tool window can be hidden; otherwise, false.
Remarks
AutoHides produces an error if the window is a Document window.
Examples
AutoHides requires a tool window. For an example of how to use this property, see the ToolWindow sample on the Visual Studio Automation Samples webpage.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.