FocusManager.RemoveLostFocusHandler 方法

定义

移除 LostFocus 附加事件的处理程序。

public:
 static void RemoveLostFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::RoutedEventHandler ^ handler);
public static void RemoveLostFocusHandler (System.Windows.DependencyObject element, System.Windows.RoutedEventHandler handler);
static member RemoveLostFocusHandler : System.Windows.DependencyObject * System.Windows.RoutedEventHandler -> unit
Public Shared Sub RemoveLostFocusHandler (element As DependencyObject, handler As RoutedEventHandler)

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
RoutedEventHandler

要删除的事件处理程序。

适用于