Selector.RemoveUnselectedHandler(DependencyObject, RoutedEventHandler) 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的元素。

handler
RoutedEventHandler

要移除的事件处理程序。

适用于