Diagram::OnToolboxItemSelected Method (ModelingToolboxItem^)

 

Called on selection of a ToolboxItem. (A selection is a double-click, or pressing Enter). Base implementation simply returns false, which means the selection action is not handled.

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

public:
virtual bool OnToolboxItemSelected(
	ModelingToolboxItem^ toolboxItem
)

Parameters

toolboxItem
Type: Microsoft.VisualStudio.Modeling.Design::ModelingToolboxItem^

Selected toolbox item. This will not be null; this method is not called when "Pointer" mode is selected.

Return Value

Type: System::Boolean

True if the toolbox selection action is handled, false otherwise.

Return to top
Show: