Share via


RibbonUIEventArgs.RibbonUI Property

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 (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
ReadOnly Property RibbonUI As IRibbonUI
IRibbonUI RibbonUI { get; }

Property Value

Type: Microsoft.Office.Core.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

See Also

Reference

RibbonUIEventArgs Interface

Microsoft.Office.Tools.Ribbon Namespace