共用方式為


Selector.AddUnselectedHandler(DependencyObject, RoutedEventHandler) 方法

定義

加入 Unselected 附加事件的處理常式。

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

參數

element
DependencyObject

接聽這個事件的項目。

handler
RoutedEventHandler

要加入的事件處理常式。

適用於