Compartir vía


Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Método

Definición

Agrega un controlador para el evento adjunto 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)

Parámetros

element
DependencyObject

Elemento que escucha este evento.

handler
RoutedEventHandler

Controlador de eventos que se va a agregar.

Se aplica a