Keyboard.AddKeyUpHandler(DependencyObject, KeyEventHandler) Keyboard.AddKeyUpHandler(DependencyObject, KeyEventHandler) Keyboard.AddKeyUpHandler(DependencyObject, KeyEventHandler) Keyboard.AddKeyUpHandler(DependencyObject, KeyEventHandler) Method

Definición

Agrega un controlador para el evento adjunto KeyUp.Adds a handler for the KeyUp attached event.

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

Parámetros

element
DependencyObject DependencyObject DependencyObject DependencyObject

Objeto UIElement o ContentElement que escucha este evento.The UIElement or ContentElement that listens to this event.

handler
KeyEventHandler KeyEventHandler KeyEventHandler KeyEventHandler

Controlador de eventos que se va a agregar.The event handler to be added.

Comentarios

Este método proporciona descriptores de acceso de propiedad adjuntos para el Keyboard.KeyUp acceso al código y XAMLXAML el procesamiento de atributos del evento adjunto.This method provides attached property accessors for code access and XAMLXAML attribute processing of the Keyboard.KeyUp attached event.

Se aplica a