我有一个RibbonTab
,其中包含6个RibbonGroups
。
我找不到将右后两个RibbonGroups
对齐的方法。
这是我的Ribbon
<Ribbon Grid.Row="0" x:Name="MainRibbon" Margin="0,-47,0,0" DockPanel.Dock="Top">
<RibbonTab x:Name="Stacker01" Header="Stacker-01" KeyTip="H">
<RibbonGroup>
<RibbonButton Name="Home" Label="Home" LargeImageSource="Icons/Home.png" Click="Home_Click" ></RibbonButton>
</RibbonGroup>
<RibbonGroup>
<RibbonButton Name ="Printer" Label="Printer" LargeImageSource="Icons/Printer.png" Click="Printer_Click"/>
</RibbonGroup>
<RibbonGroup>
<RibbonButton Name ="Entry" Label="Entry" LargeImageSource="Icons/Entry.png" Click="Entry_Click"/>
</RibbonGroup>
<RibbonGroup>
<RibbonButton Name ="Out" Label="Out" LargeImageSource="Icons/Out.png" Click="Outgo_Click"/>
</RibbonGroup>
<RibbonGroup>
<RibbonButton Name ="Help" Label="Help" LargeImageSource="Icons/Help.png" Click="Help_Click"/>
</RibbonGroup>
<RibbonGroup>
<RibbonButton Name ="Close" Label="Close" LargeImageSource="Icons/Exit.png" Click="Exit_Click"/>
</RibbonGroup>
</RibbonTab>
</Ribbon>
我希望帮助小组和密切小组与其他人分开来。