Partager via


SelectedShapesCollection.Toggle Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Toggle(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.
Public method Toggle(DiagramItemCollection) Toggles the specified DiagramItems into or out of the selection; i.e., if a DiagramItem is selected, it is deselected. If a DiagramItem is not selected, it is selected.

Top

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace