Condividi tramite


ContentControlAddedEventHandler Delegate

Definition

Represents the method that will handle the Added event of a ContentControlBase.

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

Parameters

sender
Object

The source of the event.

e
ContentControlAddedEventArgs

The data for the event.

Remarks

When you create a ContentControlAddedEventHandler 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