Compartir a través de


RibbonComponent.RibbonUI Property

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Gets the IRibbonUI instance that is provided by the Microsoft Office application to the Ribbon extensibility code.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
ReadOnly Property RibbonUI As IRibbonUI
[BrowsableAttribute(false)]
IRibbonUI RibbonUI { get; }

Property Value

Type: Microsoft.Office.Core.IRibbonUI
The IRibbonUI instance that is provided by the Office application to the Ribbon extensibility code.

Remarks

This property can be used to update Ribbon UI.

.NET Framework Security

See Also

Reference

RibbonComponent Interface

Microsoft.Office.Tools.Ribbon Namespace