Share via


OfficeRibbon.Close Event (2007 System)

Occurs when this OfficeRibbon instance is closing.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Event Close As EventHandler
'Usage
Dim instance As OfficeRibbon 
Dim handler As EventHandler 

AddHandler instance.Close, handler
public event EventHandler Close
public:
 event EventHandler^ Close {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript does not support events.

Remarks

You can use this event to release application-specific resources that were allocated earlier, for example, in the Load event.

.NET Framework Security

See Also

Reference

OfficeRibbon Class

OfficeRibbon Members

Microsoft.Office.Tools.Ribbon Namespace