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)

Sub RemoveHandler (
	routedEvent As RoutedEvent,
	handler As Delegate


Type: System.Windows.RoutedEvent

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

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