KeyEventArgs(KeyboardDevice, PresentationSource, Int32, Key) Konstruktor

Definition

Initialisiert eine neue Instanz der KeyEventArgs-Klasse.

public:
 KeyEventArgs(System::Windows::Input::KeyboardDevice ^ keyboard, System::Windows::PresentationSource ^ inputSource, int timestamp, System::Windows::Input::Key key);
[System.Security.SecurityCritical]
public KeyEventArgs(System.Windows.Input.KeyboardDevice keyboard, System.Windows.PresentationSource inputSource, int timestamp, System.Windows.Input.Key key);
public KeyEventArgs(System.Windows.Input.KeyboardDevice keyboard, System.Windows.PresentationSource inputSource, int timestamp, System.Windows.Input.Key key);
[<System.Security.SecurityCritical>]
new System.Windows.Input.KeyEventArgs : System.Windows.Input.KeyboardDevice * System.Windows.PresentationSource * int * System.Windows.Input.Key -> System.Windows.Input.KeyEventArgs
new System.Windows.Input.KeyEventArgs : System.Windows.Input.KeyboardDevice * System.Windows.PresentationSource * int * System.Windows.Input.Key -> System.Windows.Input.KeyEventArgs
Public Sub New (keyboard As KeyboardDevice, inputSource As PresentationSource, timestamp As Integer, key As Key)

Parameter

keyboard
KeyboardDevice

Das logische Tastaturgerät, das diesem Ereignis zugeordnet ist.

inputSource
PresentationSource

Die Eingabequelle.

timestamp
Int32

Der Zeitpunkt, zu dem die Eingabe erfolgte.

key
Key

Der Schlüssel, auf den vom Ereignis verwiesen wird.

Attribute

Gilt für:

Weitere Informationen