Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Zozala 3 posts 23 karma points
    May 27, 2014 @ 21:38
    Zozala
    0

    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

     

Please Sign in or register to post replies

Write your reply to:

Draft