From the sample, I see the ribbon tabs are hard coded. Is there a way to adapt the MVVM pattern on it? For example:
<ribbon:Ribbon x:Name="ribbon" DockPanel.Dock="Top" RibbonTabs={Binding RibbonTabsViewModel}>
Here is orignal sample.
<ribbon:Ribbon x:Name="ribbon" DockPanel.Dock="Top">
<ribbon:Ribbon.LayoutTransform>
<ScaleTransform ScaleX="{Binding ElementName=scaleSlider, Path=Value}" ScaleY="{Binding ElementName=scaleSlider, Path=Value}" />
</ribbon:Ribbon.LayoutTransform>
<!--
Use pre-defined WordApplicationMenu, WordHomeTab, WordInsertTab types in the sample project so that we don't have redundant code
in this sample that takes away from the focus of the sample
-->
<ribbon:Ribbon.ApplicationMenu>
<ribbonSamplesCommon:WordApplicationMenu />
</ribbon:Ribbon.ApplicationMenu>
<ribbon:Ribbon.Tabs>
<ribbonSamplesCommon:WordHomeTab />
<ribbonSamplesCommon:WordInsertTab />
<ribbon:Tab Label="Page Layout" KeyTipAccessText="P" />
<ribbon:Tab Label="References" KeyTipAccessText="S" />
<ribbon:Tab Label="Mailings" KeyTipAccessText="M" />
<ribbon:Tab Label="Review" KeyTipAccessText="R" />
<ribbon:Tab Label="View" KeyTipAccessText="W" />
</ribbon:Ribbon.Tabs>
</ribbon:Ribbon>