良好的mornorning;
我的应用程序中有一个Ribbon控件wpf(我使用.NET 4.5),因此我使用.NET 4.5中包含的Ribbon Control。
现在我想为我的Ribbon Control应用一种样式(例如office 2007)! 我不知道怎么做到这一点。
你能帮帮我吗。<Ribbon x:Name="Ribbon1" SelectedIndex="0" Grid.Row="0" >
<!-- Help Pane, located at the right-hand side -->
<Ribbon.HelpPaneContent>
<RibbonButton SmallImageSource="Images\help.png" />
</Ribbon.HelpPaneContent>
<!-- Quick Access Toolbar - located at the upper-left corner -->
<Ribbon.QuickAccessToolBar>
<RibbonQuickAccessToolBar>
<RibbonButton x:Name ="btnSave" SmallImageSource="Images\save2.png" ToolTip="Save Changes" />
<RibbonButton x:Name ="btnCut" SmallImageSource="Images\cut.png" ToolTip="Cut" />
<RibbonButton x:Name ="btnCopy" SmallImageSource="Images\copy.png" ToolTip="Copy" />
<RibbonButton x:Name ="btnPaste" SmallImageSource="Images\paste.png" ToolTip="Paste" />
</RibbonQuickAccessToolBar>
</Ribbon.QuickAccessToolBar>
........