I'm setting up items in my Ribbon using MVVM techniques. I have worked around the fact that Tabs don't have an ItemsSource property and I have created Tabs and Groups in code. I then set the Groups ItemSource property to the items that I want to show in the group.
I have a PopupButton and I have bound it's ItemsSource collection to an ObservableCollection and I have a DataTemplate to "convert" the internal type to the appropriate ribbon control. This works fine.
So, the question is, how do I do the same thing for a StackPanel? In other words, how do I set the items in a StackPanel using binding?
One final question, do you have an estimate for when the Ribbon will have full MVVM support?
Thanks,
Keith
I have a PopupButton and I have bound it's ItemsSource collection to an ObservableCollection and I have a DataTemplate to "convert" the internal type to the appropriate ribbon control. This works fine.
So, the question is, how do I do the same thing for a StackPanel? In other words, how do I set the items in a StackPanel using binding?
One final question, do you have an estimate for when the Ribbon will have full MVVM support?
Thanks,
Keith