KeyboardEventArgs KeyboardEventArgs KeyboardEventArgs KeyboardEventArgs Class

Definición

Facilita datos para eventos relacionados con el teclado.Provides data for keyboard-related events.

public ref class KeyboardEventArgs : System::Windows::Input::InputEventArgs
public class KeyboardEventArgs : System.Windows.Input.InputEventArgs
type KeyboardEventArgs = class
    inherit InputEventArgs
Public Class KeyboardEventArgs
Inherits InputEventArgs
Herencia
Derivado

Comentarios

Ningún evento de teclado existente WPFWPF en KeyboardEventArgsutiliza.No existing keyboard event in WPFWPF uses the KeyboardEventArgs. KeyboardEventArgsactúa como la clase base para las clases de KeyEventArgs datos KeyboardFocusChangedEventArgs de eventos más específicas y, que se usan WPFWPF UIElement.KeyDown en los eventos existentes UIElement.LostKeyboardFocuscomo y.KeyboardEventArgs serves as the base class for the more specific KeyEventArgs and KeyboardFocusChangedEventArgs event data classes, which are used by existing WPFWPF events such as UIElement.KeyDown and UIElement.LostKeyboardFocus.

Constructores

KeyboardEventArgs(KeyboardDevice, Int32) KeyboardEventArgs(KeyboardDevice, Int32) KeyboardEventArgs(KeyboardDevice, Int32) KeyboardEventArgs(KeyboardDevice, Int32)

Inicializa una nueva instancia de la clase KeyboardEventArgs.Initializes a new instance of the KeyboardEventArgs class.

Propiedades

Device Device Device Device

Obtiene el dispositivo de entrada que inició este evento.Gets the input device that initiated this event.

(Inherited from InputEventArgs)
Handled Handled Handled Handled

Obtiene o establece un valor que indica el estado actual del control de eventos para un evento enrutado cuando recorre la ruta.Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

(Inherited from RoutedEventArgs)
KeyboardDevice KeyboardDevice KeyboardDevice KeyboardDevice

Obtiene el dispositivo de teclado asociado al evento de entrada.Gets the keyboard device associated with the input event.

OriginalSource OriginalSource OriginalSource OriginalSource

Obtiene el origen inicial de los informes determinado por pruebas de acceso puro, antes de que una clase primaria realice posibles ajustes de Source.Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.

(Inherited from RoutedEventArgs)
RoutedEvent RoutedEvent RoutedEvent RoutedEvent

Obtiene o establece el RoutedEvent asociado a esta instancia RoutedEventArgs.Gets or sets the RoutedEvent associated with this RoutedEventArgs instance.

(Inherited from RoutedEventArgs)
Source Source Source Source

Obtiene o establece una referencia al objeto que generó el evento.Gets or sets a reference to the object that raised the event.

(Inherited from RoutedEventArgs)
Timestamp Timestamp Timestamp Timestamp

Obtiene la hora a la que se produjo este evento.Gets the time when this event occurred.

(Inherited from InputEventArgs)

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object) InvokeEventHandler(Delegate, Object)

Invoca los controladores de eventos de una manera específica del tipo, lo que puede aumentar la eficacia del sistema de eventos.Invokes event handlers in a type-specific way, which can increase event system efficiency.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
OnSetSource(Object) OnSetSource(Object) OnSetSource(Object) OnSetSource(Object)

Cuando se invalida en una clase derivada, proporciona un punto de entrada de devolución de llamada de notificación cada vez que cambia el valor de propiedad Source de una instancia.When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.

(Inherited from RoutedEventArgs)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a

Consulte también: