Search
Selection.Toggle Method
See Also
 





Toggles the selection state of an item.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Toggle (
    DiagramItem item
)

Visual Basic  Copy Code

Public Sub Toggle( _
    item As DiagramItem _
)

 Parameters

item
The DiagramItem whose selection state should be changed.

 Remarks

Call this method to toggle an item's selection state. The method selects the diagram item passed as argument if previously it was deselected. If the item was selected, the method deselects it.

 See Also