如何在项目服务器 2010 上隐藏功能区项(特别是 Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType)?我点击了这个链接,它隐藏了我想要的功能区项目,但它会影响选项卡中其他功能区项目的功能;以一种不单击按钮和不填充组合框的方式。这是我的命令:
<CustomAction
Id="Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType"
Location="CommandUI.Ribbon"
Title="Hides the ChangeProjectType button in the Project Center ribbon">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType"/>
</CommandUIDefinitions>
</CommandUIExtension>