Condividi tramite


RibbonLoadImageEventHandler Delegate

Definition

Represents the method that will handle the LoadImage event of an OfficeRibbon.

public delegate void RibbonLoadImageEventHandler(System::Object ^ sender, RibbonLoadImageEventArgs ^ e);
public delegate void RibbonLoadImageEventHandler(object sender, RibbonLoadImageEventArgs e);
type RibbonLoadImageEventHandler = delegate of obj * RibbonLoadImageEventArgs -> unit
Public Delegate Sub RibbonLoadImageEventHandler(sender As Object, e As RibbonLoadImageEventArgs)

Parameters

sender
Object

The source of the event.

e
RibbonLoadImageEventArgs

The data for the event.

Remarks

When you create a RibbonLoadImageEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Applies to