如何在wpf中更改RibbonApplicationMenuItem的宽度?

时间:2011-01-17 20:51:42

标签: wpf ribbon

在WPF功能区应用程序(.Net Framework 4)中,如何在菜单应用程序出现时更改RibbonApplicationMenuItem的宽度?

1 个答案:

答案 0 :(得分:0)

<r:RibbonDropDownButton >
<Label Content="Column Header1" Style="{StaticResource CatHeader}" />
<UniformGrid Columns="2">
     <r:RibbonApplicationMenuItem Header="Item1" Width="x"/>
     ... where x=value and so on
</UniformGrid>