MenuItem Click

2 posts, 0 answers
  1. Jason
    Jason avatar
    7 posts
    Member since:
    Nov 2012

    Posted 02 Jun 2015 Link to this post


    On your WPF demo, when a menuitem that has child menuitems is clicked (not using it's header, just on the name/icon), the child items are shown.

    This saves this user having to click on the outer circle header which is handy.

    How's this done, I can't get this to happen?

    I've made the parent menuitem CanUserSelect="True", do I need to wire up some code also??


    Thanks in advance.

  2. Georgi
    Georgi avatar
    364 posts

    Posted 05 Jun 2015 Link to this post

    Hello Jason,

    In order to navigate to child items you need to execute the NavigateToView command and and you can do so, for example int the Click event of the specific item:

    private void RadRadialMenuItem_Click(object sender, Telerik.Windows.RadRoutedEventArgs e)
       var context = new NavigateContext(sender as RadRadialMenuItem);
       this.radialMenu.CommandService.ExecuteCommand(Telerik.Windows.Controls.RadialMenu.Commands.CommandId.NavigateToView, context);

    Hope this would help.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top