This documentation is archived and is not being maintained.

IInputElement.RemoveHandler Method

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
)
void RemoveHandler (
	RoutedEvent routedEvent, 
	Delegate handler
)
function RemoveHandler (
	routedEvent : RoutedEvent, 
	handler : Delegate
)
You cannot use methods in XAML.

Parameters

routedEvent

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

handler

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: