I am working with a team on LoB application. We would like to have a dynamic Menu control, which creates the menu based on the logged in user profile. In previo
I know this is an old post but I need this plus how to bind Commands.
As to Guge's question on how to bind Commands: VMMenuItems is a property in my view model class of type
ObservableCollection
and Menu is the class defined above. The MenuItem's Command Property is being bound to the Command Property of the Menu class. In my view model class
Menu.Command = _fou
where
private ICommand _fou;
The xaml