Window2.AutoHides Property
Gets or sets whether the tool window is able to be hidden.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.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: 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: https://www.microsoft.com/downloads/details.aspx?familyid=3ff9c915-30e5-430e-95b3-621dccd25150&displaylang=en.
.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.