共用方式為


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

適用於