IVsPackageDynamicToolOwnerEx Interface

Enables dynamic control of ToolWindow visibility. Extends, but does not inherit from, IVsPackageDynamicToolOwner. This interface can control how many instances are shown.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("91C30F81-E72A-4997-9B07-A0AECB8C9169")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPackageDynamicToolOwnerEx
'Usage
Dim instance As IVsPackageDynamicToolOwnerEx
[GuidAttribute("91C30F81-E72A-4997-9B07-A0AECB8C9169")]
[InterfaceTypeAttribute()]
public interface IVsPackageDynamicToolOwnerEx
[GuidAttribute(L"91C30F81-E72A-4997-9B07-A0AECB8C9169")]
[InterfaceTypeAttribute()]
public interface class IVsPackageDynamicToolOwnerEx
public interface IVsPackageDynamicToolOwnerEx

Remarks

The environment calls the interface's single method when the user switches active window mode such as debugging or design.

To use this interface, a package must register with a SupportsDynamicToolOwner key.

You can use this interface to have a package hide windows persisted as visible. If the registration key SupportsDynamicToolOwner exists on a tool's package, the environment loads the package before displaying the tool so that the package can control visibility.

See Also

Reference

IVsPackageDynamicToolOwnerEx Members

Microsoft.VisualStudio.Shell.Interop Namespace