Export (0) Print
Expand All

InternalTypeHelper.AddEventHandler Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft