'宣言 Public Event PreviewKeyDown As Microsoft.UI.Xaml.Input.KeyEventHandler
public event Microsoft.UI.Xaml.Input.KeyEventHandler PreviewKeyDown
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、Microsoft.UI.Xaml.Input.KeyRoutedEventArgs 型の引数を受け取りました。次の KeyRoutedEventArgs プロパティには、このイベントの固有の情報が記載されます。
| プロパティ | 解説 |
|---|---|
| DeviceId | Gets a unique ID for the input device that generated this key event (not supported for all input devices). |
| Handled | Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again. |
| Key | Gets the virtual-key associated with the event. Depending on the input device, this can be a mapped value. For raw, unmapped event data, see the OriginalKey property. |
| KeyStatus | Gets a structure value that reports various system-detected characteristics of the key press, including repeat count and menu status. |
| OriginalKey | Gets the original, unmapped virtual-key associated with the event. Depending on the input device, the input button might be mapped to a different key value. For the mapped event value, see the Key property. |
| OriginalSource | Microsoft.UI.Xaml.RoutedEventArgsから継承されます。 |
参照