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.RemoveHandler Method (RoutedEvent, Delegate)

 

Removes all instances of the specified routed event handler from this element.

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

void RemoveHandler(
	RoutedEvent routedEvent,
	Delegate handler
)

Parameters

routedEvent
Type: System.Windows.RoutedEvent

Identifier of the routed event for which the handler is attached.

handler
Type: System.Delegate

The specific handler implementation to remove from this element's event handler collection.

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