|
Posted on
2008-11-27 09:48
张荣华
阅读( 979)
评论()
编辑
收藏
举报
问题:如题。
解决方法:
给Ribbon控件加上如下事件:
![](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif) Code
private void ribbonControl1_ShowCustomizationMenu(object sender, RibbonCustomizationMenuEventArgs e)
{
foreach (BarItemLink itemLink in e.CustomizationMenu.ItemLinks)
{
itemLink.Visible = false;
}
}
|