This project is read-only.

MenuItems problem using MVVM

Dec 14, 2010 at 6:52 AM

Hello !

Im using MVVM approach.

I have a viewModel for button and a menuItem.

The problem is that menuItem view never gets invoked, so im left with blank menuItems. Binding appears to work ok as the number of menuItems is allways correct.

I have tried using ItemsContainerStyle on button view and i can style the menuItem, but with some limitations. For instance the icon is always appearing only on last menuItem/sub menuItem.

What am i doing wrong?

Im using WPF app, caliburn micro and fluent ribbon controls.