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)
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)
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.