共用方式為


RibbonBase.Load Event

Occurs when the RibbonBase is loaded into the Microsoft Office application.

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 Event Load As RibbonUIEventHandler
public event RibbonUIEventHandler Load

Remarks

The Load event handler is automatically added to the Ribbon code file. Use this event handler to run custom code when the Ribbon loads.

.NET Framework Security

See Also

Reference

RibbonBase Class

Microsoft.Office.Tools.Ribbon Namespace