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()> _
Public Interface IVsToolboxActiveUserHook
public interface IVsToolboxActiveUserHook
public interface class IVsToolboxActiveUserHook
type IVsToolboxActiveUserHook =  interface end
public interface IVsToolboxActiveUserHook

The IVsToolboxActiveUserHook type exposes the following members.


  Name Description
Public method InterceptDataObject This method is called by the Toolbox whenever one of its data objects participates in a drag-and-drop operation.
Public method ToolboxSelectionChanged 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.

See Also


Microsoft.VisualStudio.Shell.Interop Namespace