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:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|