แก้ไข

แชร์ผ่าน


FrameworkElementFactory.RemoveHandler(RoutedEvent, Delegate) Method

Definition

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

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

Parameters

routedEvent
RoutedEvent

Identifier object for the routed event.

handler
Delegate

The handler to remove.

Applies to