Diagram.OnToolboxSelectionChanged(ModelingToolboxItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the selection on toolbox changed (through a single-click, or pressing up/down arrow keys). Base implementation does nothing.
public:
virtual void OnToolboxSelectionChanged(Microsoft::VisualStudio::Modeling::Design::ModelingToolboxItem ^ toolboxItem);
public virtual void OnToolboxSelectionChanged (Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem toolboxItem);
abstract member OnToolboxSelectionChanged : Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem -> unit
override this.OnToolboxSelectionChanged : Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem -> unit
Public Overridable Sub OnToolboxSelectionChanged (toolboxItem As ModelingToolboxItem)
Parameters
- toolboxItem
- ModelingToolboxItem
New toolbox item with selection. This can be null, if "Pointer" mode is selected.