I'm trying to add a menu option in the context menu. So far I manage to figure out that I need to hook in the TreeControllerBase.MenuRendering event and then create a new MenuItem.
This works the only problem I'm having is that I want this new menu item ONLY when you click on for example Dictionary.
You can checkout the TreeAlias from the sender parameter, but this contains null when you've fired the event by clicking on the Dictionary item. (see screenshot)
How can I figure out that I've clicked the Dictonary menu item?
Extending context menu
Hello everyone,
I'm trying to add a menu option in the context menu.
So far I manage to figure out that I need to hook in the TreeControllerBase.MenuRendering event and then create a new MenuItem.
This works the only problem I'm having is that I want this new menu item ONLY when you click on for example Dictionary.
You can checkout the TreeAlias from the sender parameter, but this contains null when you've fired the event by clicking on the Dictionary item. (see screenshot)
How can I figure out that I've clicked the Dictonary menu item?
Thanks in advance
is working on a reply...