RibbonLabel.Label 属性

获取或设置标签所显示的文本。

命名空间:  Microsoft.Office.Tools.Ribbon
程序集:  Microsoft.Office.Tools.Common(在 Microsoft.Office.Tools.Common.dll 中)

语法

声明
Property Label As String
    Get
    Set
string Label { get; set; }

属性值

类型:System.String
标签所显示的文本。

备注

若要隐藏标签,请将 ShowLabel 属性设置为 false。

.NET Framework 安全性

请参见

参考

RibbonLabel 接口

Microsoft.Office.Tools.Ribbon 命名空间