With a TreeView MouseClick event, I can get the EventData for the MouseClick, and I can get the Sender, which is the TreeView.Root.
Is there a way to get the actual TreeItem node? Or do I have store the SelectedItemChanged in a global var and then access it from the MouseClick event sub?
I want to be able to have a double click on a TreeItem send that Item to another subroutine. I'm cool with the global var solution, I just want to know if there is a more elegant way.
Is there a way to get the actual TreeItem node? Or do I have store the SelectedItemChanged in a global var and then access it from the MouseClick event sub?
I want to be able to have a double click on a TreeItem send that Item to another subroutine. I'm cool with the global var solution, I just want to know if there is a more elegant way.