Share via


ModelingDocView.OnToolboxItemSelected Method

When a user clicks an item in the Toolbox, calls ToolboxItemSelected.

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

Syntax

'Declaration
Protected Overridable Sub OnToolboxItemSelected ( _
    data As IDataObject _
)
protected virtual void OnToolboxItemSelected(
    IDataObject data
)
protected:
virtual void OnToolboxItemSelected(
    IDataObject^ data
)
abstract OnToolboxItemSelected : 
        data:IDataObject -> unit  
override OnToolboxItemSelected : 
        data:IDataObject -> unit
protected function OnToolboxItemSelected(
    data : IDataObject
)

Parameters

  • data
    Type: IDataObject

    The item in the Toolbox.

.NET Framework Security

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace

ToolboxItemSelected