FrameworkElementFactory.RemoveHandler Method (RoutedEvent, Delegate)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes an event handler from the given routed event. This applies to the instances created by this factory.

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

public void RemoveHandler(
	RoutedEvent routedEvent,
	Delegate handler
)

Parameters

routedEvent
Type: System.Windows.RoutedEvent

Identifier object for the routed event.

handler
Type: System.Delegate

The handler to remove.

.NET Framework
Available since 3.0
Return to top
Show: