Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Method

Definition

Adds a handler for the Selected attached event.

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

Parameters

element
DependencyObject DependencyObject DependencyObject DependencyObject

Element that listens to this event.

Applies to