SelectedShapesCollection::Toggle Method (DiagramItem^)

 

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.

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

public:
void Toggle(
	DiagramItem^ diagramItem
)

Parameters

diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

The diagramItem to toggle into or out of the selection.

Return to top
Show: