This topic has not yet been rated - Rate this topic

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)

[GuidAttribute("91C30F81-E72A-4997-9B07-A0AECB8C9169")] 
[InterfaceTypeAttribute(1)] 
public interface IVsPackageDynamicToolOwnerEx
/** @attribute GuidAttribute("91C30F81-E72A-4997-9B07-A0AECB8C9169") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsPackageDynamicToolOwnerEx
GuidAttribute("91C30F81-E72A-4997-9B07-A0AECB8C9169") 
InterfaceTypeAttribute(1) 
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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ