ProvideToolWindowVisibilityAttribute(Object, String) Constructor

Definition

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

public:
 ProvideToolWindowVisibilityAttribute(System::Object ^ toolWindow, System::String ^ commandUIGuid);
public:
 ProvideToolWindowVisibilityAttribute(Platform::Object ^ toolWindow, Platform::String ^ commandUIGuid);
 ProvideToolWindowVisibilityAttribute(winrt::Windows::Foundation::IInspectable const & toolWindow, std::wstring const & commandUIGuid);
public ProvideToolWindowVisibilityAttribute (object toolWindow, string commandUIGuid);
new Microsoft.VisualStudio.Shell.ProvideToolWindowVisibilityAttribute : obj * string -> Microsoft.VisualStudio.Shell.ProvideToolWindowVisibilityAttribute
Public Sub New (toolWindow As Object, commandUIGuid As String)

Parameters

toolWindow
Object

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

commandUIGuid
String

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

Remarks

Automatic display and hiding of the Tool Window is accomplished by mapping the commandUIGuid to one or more UI contexts in the VISIBILITY_SECTION – VISIBILITY_END section of the associated .ctc file.

Applies to