Diagram control have built-in support to expand/collapse the nodes by using Node’s “IsExpanded” property. We can enable/disable the node’s “IsExpanded” property to expand/collapse the child node of the current node. This behavior works fine within the group node too.
The following code illustrates to expand the parent node:
The following code illustrates to collapse the parent node:
This page will automatically be redirected to the sign-in page in 10 seconds.