This documentation is archived and is not being maintained.

IVsPackageDynamicToolOwnerEx Interface

Enables dynamic control of Tool Window 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)

[GuidAttribute("91C30F81-E72A-4997-9B07-A0AECB8C9169")]
[InterfaceTypeAttribute()]
public interface IVsPackageDynamicToolOwnerEx

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.

Show: