ProvideToolWindowVisibilityAttribute Constructor (Object^, String^)

 

Initializes a new instance of ProvideToolWindowVisibilityAttribute for the specified type of the tool window and a GUID to associate with its visibility.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
ProvideToolWindowVisibilityAttribute(
	Object^ toolWindow,
	String^ commandUIGuid
)

Parameters

toolWindow
Type: System::Object^

The types of the tool window. This can be the type, the GUID, or the string value of the GUID.

commandUIGuid
Type: System::String^

The GUID of the tool window to which the automatic visibility behavior should be applied.

Automatic display and hiding of the Tool Window is accomplished by mapping the commandUIGuid to one or more UI contexts in the section of the associated .ctc file.6a2fdcad-0aed-48c9-9959-4a9c20594325

Return to top
Show: