FrameworkElementFactory::RemoveHandler Method (RoutedEvent^, Delegate^)

 

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: