RibbonBase.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
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property RibbonUI As IRibbonUI
Get
public 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.