Share via


ContentControlDeletingEventHandler Delegate

Definition

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

C#
public delegate void ContentControlDeletingEventHandler(object sender, ContentControlDeletingEventArgs e);

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

Product Versions
Visual Studio Tools for Office 2017, 2019, 2022