This is a migrated thread and some comments may be shown as answers.

hide radialmenu

1 Answer 31 Views
RadialMenu
This is a migrated thread and some comments may be shown as answers.
Alex Troto
Top achievements
Rank 1
Alex Troto asked on 15 Jan 2015, 01:52 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 20 Jan 2015, 09:14 AM
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.

 
Tags
RadialMenu
Asked by
Alex Troto
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or