'宣言
Public Event PreviewKeyDown As KeyEventHandler
public event KeyEventHandler PreviewKeyDown
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、KeyEventArgs 型の引数を受け取りました。次の KeyEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
DeadCharProcessedKey | Gets the key that is part of dead key composition to create a single combined character. |
Device | Gets the input device that initiated this event. System.Windows.Input.InputEventArgsから継承されます。 |
Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. System.Windows.RoutedEventArgsから継承されます。 |
ImeProcessedKey | Gets the keyboard key referenced by the event, if the key will be processed by an Input Method Editor (IME). |
InputSource | Gets the input source that provided this input. |
IsDown | Gets a value that indicates whether the key referenced by the event is in the down state. |
IsRepeat | Gets a value that indicates whether the keyboard key referenced by the event is a repeated key. |
IsToggled | Gets a value that indicates whether the key referenced by the event is in the toggled state. |
IsUp | Gets a value that indicates whether the key referenced by the event is in the up state. |
Key | Gets the keyboard key associated with the event. |
KeyboardDevice | Gets the keyboard device associated with the input event. System.Windows.Input.KeyboardEventArgsから継承されます。 |
KeyStates | Gets the state of the keyboard key associated with this event. |
OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. System.Windows.RoutedEventArgsから継承されます。 |
RoutedEvent | Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. System.Windows.RoutedEventArgsから継承されます。 |
Source | Gets or sets a reference to the object that raised the event. System.Windows.RoutedEventArgsから継承されます。 |
SystemKey | Gets the keyboard key referenced by the event, if the key will be processed by the system. |
Timestamp | Gets the time when this event occurred. System.Windows.Input.InputEventArgsから継承されます。 |
参照