2012-06-05 88 views

回答

2

我成功了!在XML文件中,在自定義選項卡部分,添加: 添加一組:

<group idMso="existing group id"></group > 
0

你可以試試。 但你不能改變組(https://social.msdn.microsoft.com/Forums/vstudio/en-US/3391b0a8-9dea-4372-b28c-ca62b9420f25/customizing-an-existing-ribbon?forum=vsto

但是你可以隱藏和顯示自己的超越:看的想法(http://www.rondebruin.nl/win/s2/win016.htm

對於前:

<!-- Set visible to false for the Clipboard group on the Home tab--> 
    <tab idMso="TabHome"> 
    <group idMso="GroupClipboard" visible="false"/> 
    </tab> 


    <!-- Point to the Built-in tab to the ribbon --> 
    <tab idMso="TabHome"> 

    <!-- Add Clipboard group -- And hear you could add your controls > 
    <group id="DupClipboard" label="Clipboard" insertBeforeMso="GroupClipboard" > 
     <splitButton idMso="PasteMenu" size="large" /> 
     <button idMso="Cut"/> 
     <button idMso="Copy"/> 
     <control idMso="FormatPainter"/> 

     <dialogBoxLauncher> 
     <button idMso="ShowClipboard" /> 
     </dialogBoxLauncher> 
    </group> 

    </tab> 
+0

同樣看到的是https:// WWW .microsoft.com/zh-cn/download/details.aspx?id = 6627 –

+0

https://www.microsoft.com/en-us/download/details.aspx?id=36798 –

+0

https://www.microsoft .COM/EN-US /下載/ details.aspx?ID = 3582 –

相關問題