RibbonUIEventArgs.RibbonUI Property (2007 System)
Gets an instance of the Microsoft.Office.Core.IRibbonUI interface when the Ribbon is loaded into the Microsoft Office application.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public ReadOnly Property RibbonUI As IRibbonUI
'Usage
Dim instance As RibbonUIEventArgs
Dim value As IRibbonUI
value = instance.RibbonUI
public IRibbonUI RibbonUI { get; }
public:
property IRibbonUI^ RibbonUI {
IRibbonUI^ get ();
}
public function get RibbonUI () : IRibbonUI
Property Value
Type: IRibbonUI
An Microsoft.Office.Core.IRibbonUI interface.
Remarks
You can use the Microsoft.Office.Core.IRibbonUI to refresh the user interface of the Ribbon or its individual controls. However, because PerformLayout is called automatically when a control is changed, there is little need to use Microsoft.Office.Core.IRibbonUI directly.
For more information about Microsoft.Office.Core.IRibbonUI, see IRibbonUI Object.
.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.