IVsToolboxActiveUserHook Interface

 

Provides support for intercepting and modifying Toolbox interactions, including drag and drop.

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

[GuidAttribute("A00C298A-6520-4822-ABD8-C5CD03846599")]
[InterfaceTypeAttribute(1)]
public interface IVsToolboxActiveUserHook

NameDescription
System_CAPS_pubmethodInterceptDataObject(IDataObject, IDataObject)

This method is called by the Toolbox whenever one of its data objects participates in a drag-and-drop operation.

System_CAPS_pubmethodToolboxSelectionChanged(IDataObject)

This method is called by the Toolbox whenever there is a change in which Toolbox item has been selected.

IVsToolboxActiveUserHook is used by an application that requires notification of changes to a Toolbox selection and or needs to intercept and modify a data object when it is copied or dragged.

The interface's methods are called by the Toolbox itself, as only the active Toolbox user can receive IVsToolboxActiveUserHook notifications. It should not be called directly by a VSPackage.

Notes to Implementers:

Toolbox users that need to intercept and modify Toolbox interactions, before they are completed including drag and drop, should implement the IVsToolboxActiveUserHook interface.

Return to top
Show: