FocusManager.RemoveGotFocusHandler 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的 UIElementContentElement

handler
RoutedEventHandler

要删除的事件处理程序。

适用于