| Parameter | Description |
|---|---|
| node | The Hierarchy.HierarchyNode to toggle the selection state of. |
| direction | The direction of traversal. |
Toggles the selection state of the specified node and all its ancestors or descendants recursively.
| Parameter | Description |
|---|---|
| nodes | The Hierarchy.HierarchyNodes to toggle the selection state of. |
| direction | The direction of traversal. |
Toggles the selection state of the specified nodes and all their ancestors or descendants recursively.