Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Context Menu on DataTree
posted

Hi, 

I have a context menu on a xam atatree which is generated from another xamdatatree. 

I want to show / hide certain menu items depending on whether the tree was right-clicked or the node level. Also, how to find out which node was clicked? Does the node have to be selected to get the node data from right click?

Please see sample project attached. It is not perfect, I am still getting used to the Tree control, but you will get the idea. I have added comments in the code behind.

Thanks

DataTreeVBNET.zip