hide radialmenu

2 posts, 1 answers
  1. Alex Troto
    Alex Troto avatar
    20 posts
    Member since:
    Jul 2012

    Posted 15 Jan 2015 Link to this post

    Hi I would like to hide RadialMenu when I'm pressing the center button.
    Right now, it only close the menu, but a button still remains on the screen.
    Thanks,
    Alex
  2. Answer
    Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 20 Jan 2015 Link to this post

    Hi Alex,

    You can implement that behavior by hooking to the Closed event handler of the RadialContextMenu and executing the RadialMenuCommands.Hide command as shown below:

    private void radialMenu_Closed(object sender, Telerik.Windows.RadRoutedEventArgs e)
    {
        RadialMenuCommands.Hide.Execute(null, this.grid);
    }

    As parameter you should pass the element which the RadialContextMenu is attached on.

    Hope this helps.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top