TreeView Rad control
When node is expanded using the expasion icon the expanded node is not returned in param in
void LoadOnDemandCommand(string param)
Instead the node currently selected is returned (not the expanded node). Thus the result is a bunch of spinning circles.
I interpret this as that a node is not set to the current item when expanded.
How is this achieved when using the MVVM pattern. I have had to include an expand event method which sets the expanded node to the SelectedItem.