Share via


RibbonUIEventArgs.RibbonUI Property

Definition

Gets an instance of the Microsoft.Office.Core.IRibbonUI interface when the Ribbon is loaded into the Microsoft Office application.

public:
 property Microsoft::Office::Core::IRibbonUI ^ RibbonUI { Microsoft::Office::Core::IRibbonUI ^ get(); };
public Microsoft.Office.Core.IRibbonUI RibbonUI { get; }
member this.RibbonUI : Microsoft.Office.Core.IRibbonUI
Public ReadOnly Property RibbonUI As IRibbonUI

Property Value

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.

Applies to