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

[Solved] RadialMenu in GridViewItem

1 Answer 68 Views
RadialMenu for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Benjamin
Top achievements
Rank 1
Benjamin asked on 11 Feb 2014, 09:16 AM
Hi,
we want to use the RadialMenu as a normal menu into a GridViewItem, no context menu.
Is there a possibility that the RadialMenu can go out of bounds from the GridViewItem?

Another possibility is the use as a context menu, so it is like a popup.
In this case we want to use it as a normal menu. So the RadialMenuButton is always visible from the start and not triggered from another UIElement.

Kind regards
Benjamin

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 14 Feb 2014, 10:51 AM
Hi Benjamin,

Thank you for the question.

If you use the RadRadialMenu as a context menu, it will be automatically closed when you unfocus the menu and this can not be avoided. For this reason we recommend that you put the menu in a Popup control in order to position it outside the bounds of a GridViewItem. When used as a normal menu, you can prevent the menu from closing by creating a custom class that inherits from the RadialMenuCommand class. You can set the RadialMenuCommand.Id property to CommandId.Close and override the CanExecute(...) method to always return false. I have attached a sample project that demonstrates this scenario.

Please, take a look and let us know if this works for you.

Regards,
Rositsa Topchiyska
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
RadialMenu for XAML
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or