RadialMenuItem Command
The RadialMenuItem has a Command property that can be bound to an ICommand implementation. The execution of the command is triggered by click/tap event. The parameter passed to the command is of RadialMenuItemContext type and exposes the following properties:
- TargetElement: This is the element that uses the RadRadialMenu as a context menu.
- MenuItem: This is the RadialMenuItem that has initiated the command.
- CommandParameter: The command parameter passed by the RadialMenuItem.
Example
Here is an example demonstrating how to add a custom command to a RadialMenuItem. First, you can create a custom class that implements the ICommand interface.
You can access the RadRadialMenu control through an alias pointing to the Telerik.UI.Xaml.Controls.Navigation namespace: xmlns:navigation="using:Telerik.UI.Xaml.Controls.Navigation"