Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
xamRibbon MenuTool Commanding
posted

I want to use a MenuTool within a XamRibbon binding it to a custom list of my own from my View Model. This works find and I do see my list in the MenuTool. But whenever the user clicks on one of the items in the Menu Tool, I want to capture that as a Command in my View Model with the Command Parameter being the item clicked on. I don't find a way of doing it. How can I do this?

Parents
No Data
Reply
  • 80
    posted

    I am actually trying the MenuTool using the Themes in Infragistics. I want to have the list of Themes from ViewModel and also a SelectedTheme. The MenuTool should start with the "SelectedTheme" and whenever the theme is changed (by selecting from the list of themes), the SelectedTheme should be reset and the Theme of the ribbon should change. How do I do that? I don't really see any property like SelectedItem etc and also the Commanding is not working whenever I change the selection from the menu.

Children