IInputElement.AddHandler Method (RoutedEvent, Delegate)

 

Adds a routed event handler for a specific routed event to an element.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

void AddHandler(
	RoutedEvent routedEvent,
	Delegate handler
)

Parameters

routedEvent
Type: System.Windows.RoutedEvent

The identifier for the routed event that is being handled.

handler
Type: System.Delegate

A reference to the handler implementation.

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

.NET Framework
Available since 3.0
Return to top
Show: