Partilhar 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
Public Event ToolboxItemSelected As DragEventHandler
public event DragEventHandler ToolboxItemSelected
public:
 event DragEventHandler^ ToolboxItemSelected {
    void add (DragEventHandler^ value);
    void remove (DragEventHandler^ value);
}
member ToolboxItemSelected : IEvent<DragEventHandler,
    DragEventArgs>
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

Microsoft.VisualStudio.Modeling.Shell Namespace