Share via


ContentControlAddedEventHandler Delegate

Definition

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

C#
public delegate void ContentControlAddedEventHandler(object sender, ContentControlAddedEventArgs e);

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

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