How to bind command with radmenu when using "Binding to Dynamic Data"

2 posts, 0 answers
  1. ajoua taha
    ajoua taha avatar
    25 posts
    Member since:
    Feb 2016

    Posted 29 Mar Link to this post

    Hi,

    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

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 30 Mar Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top