FrameworkElementFactory.RemoveHandler(RoutedEvent, Delegate) 方法

定义

从给定路由事件中移除事件处理程序。 这适用于此工厂创建的实例。

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)

参数

routedEvent
RoutedEvent

路由事件的标识符对象。

handler
Delegate

要删除的处理程序。

适用于