LostFocusEventManager.RemoveHandler 方法

定义

从指定源中移除指定的事件处理程序。

public:
 static void RemoveHandler(System::Windows::DependencyObject ^ source, EventHandler<System::Windows::RoutedEventArgs ^> ^ handler);
public static void RemoveHandler (System.Windows.DependencyObject source, EventHandler<System.Windows.RoutedEventArgs> handler);
static member RemoveHandler : System.Windows.DependencyObject * EventHandler<System.Windows.RoutedEventArgs> -> unit
Public Shared Sub RemoveHandler (source As DependencyObject, handler As EventHandler(Of RoutedEventArgs))

参数

source
DependencyObject

引发 LostFocusLostFocus 事件的源对象。

handler
EventHandler<RoutedEventArgs>

创建处理 LostFocusLostFocus 事件的委托。

例外

handlernull

适用于