Selector.RemoveSelectedHandler(DependencyObject, RoutedEventHandler) 方法

定义

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

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

参数

element
DependencyObject

侦听此事件的元素。

handler
RoutedEventHandler

要移除的事件处理程序。

适用于