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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.