InternalTypeHelper.AddEventHandler Method (EventInfo, Object, Delegate)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived (generated) class, attaches an event handler delegate to an internal event.

Namespace:   System.Windows.Markup
Assembly:  WindowsBase (in WindowsBase.dll)

protected internal abstract void AddEventHandler(
	EventInfo eventInfo,
	object target,
	Delegate handler
)

Parameters

eventInfo
Type: System.Reflection.EventInfo

The event information for the event (CLR reflection information).

target
Type: System.Object

The target where the handler is attached.

handler
Type: System.Delegate

The event handler.

The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.

.NET Framework
Available since 3.0
Return to top
Show: