Condividi tramite


Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Metodo

Definizione

Aggiunge un gestore per l'evento associato Selected.

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)

Parametri

element
DependencyObject

Elemento in ascolto dell'evento.

handler
RoutedEventHandler

Gestore eventi da aggiungere.

Si applica a