SelectedShapesCollection::Toggle Method (DiagramItem^)
Visual Studio 2015
Toggles the specified DiagramItem into or out of the selection; i.e., if the DiagramItem is selected, it is deselected. If the DiagramItem is not selected, it is selected.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- diagramItem
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
The diagramItem to toggle into or out of the selection.
Show: