Partager via


ContentControlDeletingEventHandler Delegate

Definition

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

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

Parameters

sender
Object

The source of the event.

e
ContentControlDeletingEventArgs

The data for the event.

Remarks

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