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.
I hope this helps.