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

Definición

Quita un controlador del evento adjunto PreviewKeyUp.Removes a handler for the PreviewKeyUp attached event.

public:
 static void RemovePreviewKeyUpHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyEventHandler ^ handler);
public static void RemovePreviewKeyUpHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyEventHandler handler);
static member RemovePreviewKeyUpHandler : System.Windows.DependencyObject * System.Windows.Input.KeyEventHandler -> unit
Public Shared Sub RemovePreviewKeyUpHandler (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 quitar.The event handler to be removed.

Comentarios

Este método proporciona los descriptores de acceso de las propiedades Keyboard.PreviewKeyUp adjuntas para el acceso de código al evento adjunto.This method provides attached property accessors for code access to the Keyboard.PreviewKeyUp attached event.

Se aplica a