Binding RibbonTabs in xaml

Mar 9, 2009 at 6:16 PM
I'm building app using MVVM pattern and I've got collection of RibbonTabs in my MainWindowViewModel. How can I bind in xaml this collection to Tabs in ribbon (there's no dependency property Tabs)?
Mar 10, 2009 at 11:08 AM
Why are you defining the tab in ViewModel? Isn't that a "presentation" concern?
ViewModel shouln't define how something looks like. Instead, it should contain interaction logic and UI's state.

We have it put like that:
 - Tabs and ribbons are declared in xaml. That's the View part.
 - Commands are forwarded to ViewModels for execution.

How to forward a RibbonCommand to other command is another question.
Take a look at the Southridge application: