Partilhar via


Selector.AddSelectedHandler(DependencyObject, RoutedEventHandler) Método

Definição

Adiciona um manipulador ao evento anexado 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 escuta esse evento.

handler
RoutedEventHandler

Manipulador de eventos a ser adicionado.

Aplica-se a