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

The IVsToolboxActiveUserHook type exposes the following members.

  NameDescription
Public methodInterceptDataObjectThis method is called by the Toolbox whenever one of its data objects participates in a drag-and-drop operation.
Public methodToolboxSelectionChangedThis method is called by the Toolbox whenever there is a change in which Toolbox item has been selected.
Top

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.

Community Additions

ADD
Show: