Is there a way to determine whether a node is expanding or collapsing when handling the NodeExpandedChanging event?
2 Answers, 1 is accepted
answered on 24 Feb 2014, 07:13 AM
Thank you for writing.
The NodeExpandedChanged event gets triggered when the expanded state of a node is changed, so you can check the e.Node.Expanded state and if it is true, this means that the node was not expanded and it now is. On the contrary, if is it false, this means that the node was expanded and not is it not.