Rediger

Del via


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

Element that listens to this event.

handler
RoutedEventHandler

Event handler to add.

Applies to