Accessing the NavigationItemButton for a certain RadRadialMenuItem

3 posts, 0 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Jan 2016

    Posted 11 Mar 2016 Link to this post



    Is there any way to access the NavigationItemButton associated to a certain RadRadialMenuItem? I would like to show the submenus in case that the parent menuitem is clicked, therefore I need exactly the same behaviour for my menuitem as the NavigationItemButton offers.

    It would be great if this would be possible in XAML only.


    Thanks in advance.

  2. Georgi
    Georgi avatar
    362 posts

    Posted 15 Mar 2016 Link to this post

    Hello Michael,

    You can achieve that by using the CommandService of the RadialMenu as follows:
    NavigateContext context = new NavigateContext(menuItem);
    menuItem.Menu.CommandService.ExecuteDefaultCommand(CommandId.NavigateToView, context);

    Also you could create a command that executes this logic and set it to specific RadialMenuItem (as shown in the FirstLook example in our demos) or to all items (as shown in this help article).

    If you have any other questions, please don't hesitate to write us.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Michael
    Michael avatar
    4 posts
    Member since:
    Jan 2016

    Posted 16 Mar 2016 in reply to Georgi Link to this post

    Perfect! Thanks Georgie, works like a charm. I already have seen the help article, but I couldn't figure out how to combine it with a command of a certain menu entry.
Back to Top