IInputElement.RemoveHandler(RoutedEvent, Delegate) IInputElement.RemoveHandler(RoutedEvent, Delegate) IInputElement.RemoveHandler(RoutedEvent, Delegate) Method

Definition

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

public:
 void RemoveHandler(System::Windows::RoutedEvent ^ routedEvent, Delegate ^ handler);
public void RemoveHandler (System.Windows.RoutedEvent routedEvent, Delegate handler);
abstract member RemoveHandler : System.Windows.RoutedEvent * Delegate -> unit

Parameters

routedEvent
RoutedEvent RoutedEvent RoutedEvent

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

handler
Delegate Delegate Delegate

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

Remarks

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

Applies to

See also