I followed this link (http://docs.telerik.com/devtools/wpf/controls/radmenu/populating-with-data/binding-to-dynamic-data.html#binding-to-dynamic-data) from telerik documentation to build radmenu, but I don't know how to add the command for each item.
help plz
1 Answer, 1 is accepted
0
Yana
Telerik team
answered on 30 Mar 2016, 10:52 AM
Hello,
I would suggest that you use ItemClick event of RadMenu as it is fired every time an item is clicked. You can check RadMenu Events topic for more details on its usage.
Additionally, you could take a look at our EventToCommandBehavior which will allow you to handle the ItemClick event in the ViewModel.
I hope this will be helpful.
Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.