Share via


RibbonMenu.Label 屬性

取得或設定功能表顯示的文字。

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

語法

'宣告
Property Label As String
string Label { get; set; }

屬性值

型別:System.String
功能表顯示的文字。

備註

若要隱藏標籤,請將 ShowLabel 屬性設定為 false。

.NET Framework 安全性

請參閱

參考

RibbonMenu 介面

Microsoft.Office.Tools.Ribbon 命名空間