Partager via


ContentControlExitingEventHandler Delegate

Definition

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

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

Parameters

sender
Object

The source of the event.

e
ContentControlExitingEventArgs

The data for the event.

Remarks

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