Share via


ModelingDocView.ToolboxItemSelected Event

Occurs when the user drags the selected item from the Toolbox to the document window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Public Event ToolboxItemSelected As DragEventHandler
'Usage
Dim instance As ModelingDocView 
Dim handler As DragEventHandler 

AddHandler instance.ToolboxItemSelected, handler
public event DragEventHandler ToolboxItemSelected
public:
 event DragEventHandler^ ToolboxItemSelected {
    void add (DragEventHandler^ value);
    void remove (DragEventHandler^ value);
}
JScript does not support events.

Remarks

This method is called when a user clicks an item in the Toolbox.

Toolbox items include shapes and connectors.

.NET Framework Security

See Also

Reference

ModelingDocView Class

ModelingDocView Members

Microsoft.VisualStudio.Modeling.Shell Namespace