共用方式為


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

要移除的事件處理常式。

適用於