AutoHides Property
ID
Top
TOC
Collapse the table of content
Expand the table of content

AutoHides Property

Visual Studio .NET 2003

Sets or returns whether the tool window is able to be hidden.

[Visual Basic .NET]
Public Property AutoHides() As Boolean
[Visual Basic 6]
Property Get AutoHides() As Boolean
Property Let AutoHides( _
   ByVal NewValue As Boolean _
) 
[C++]
HRESULT __stdcall get_AutoHides(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_AutoHides(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
public bool AutoHides {get; set;}
[JScript .NET]
public function get AutoHides() : Boolean
public function set AutoHides(
   NewValue : Boolean
)

Parameters

NewValue
True if the tool window can be hidden, False if not.

Return Value

True if the tool window can be hidden, False if not.

Remarks

AutoHides produces an error if the window is a Document window.

Example

This property requires a tool window. For an example of how to use this property, see the ToolWindow sample on the Visual Studio .NET Automation Samples webpage: http://msdn.microsoft.com/vstudio/prodinfo/previous/rcbeta/automation.asp.

See Also

Applies To: Window Object

Show:
© 2016 Microsoft