本文為機器翻譯文章。如需檢視英文版,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

RibbonTab.ControlId 屬性

 

取得或設定 Microsoft Office 應用程式用來指稱索引標籤的唯一名稱。

命名空間:   Microsoft.Office.Tools.Ribbon
組件:  Microsoft.Office.Tools.Common (於 Microsoft.Office.Tools.Common.dll)

RibbonControlId ControlId { get; set; }

屬性值

Type: Microsoft.Office.Tools.Ribbon.RibbonControlId

RibbonControlId,其中包含 Office 指稱索引標籤用的唯一名稱。

The P:Microsoft.Office.Tools.Ribbon.RibbonTab.ControlId value can identify either an Office built-in control (by using an idMSO value) or a custom control.

For an Office built-in tab, the P:Microsoft.Office.Tools.Ribbon.RibbonControlId.OfficeId is a known fixed value that describes a pre-existing Office control. The list of P:Microsoft.Office.Tools.Ribbon.RibbonControlId.OfficeId values can be found at the Microsoft Download Center Web page Office 2010 Help Files: Office Fluent User Interface Control Identifiershttp://go.microsoft.com/fwlink/?LinkID=181052.

For a custom tab, the name of the T:Microsoft.Office.Tools.Ribbon.RibbonTab automatically propagates to the P:Microsoft.Office.Tools.Ribbon.RibbonTab.ControlId and the P:Microsoft.Office.Tools.Ribbon.RibbonControlId.CustomId. You can only change the P:Microsoft.Office.Tools.Ribbon.RibbonTab.ControlId and the P:Microsoft.Office.Tools.Ribbon.RibbonControlId.CustomId by changing the name of the T:Microsoft.Office.Tools.Ribbon.RibbonTab.

回到頁首
顯示: