Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft