共用方式為


ProcessKeyboardAcceleratorEventArgs 類別

定義

提供 ProcessKeyboardAccelerators 事件的事件資料。

public ref class ProcessKeyboardAcceleratorEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessKeyboardAcceleratorEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ProcessKeyboardAcceleratorEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProcessKeyboardAcceleratorEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ProcessKeyboardAcceleratorEventArgs
Public NotInheritable Class ProcessKeyboardAcceleratorEventArgs
繼承
Object Platform::Object IInspectable ProcessKeyboardAcceleratorEventArgs
屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

屬性

Handled

取得或設定值,這個值會將事件標示為已處理。

Key

取得與鍵盤快速鍵 (快速鍵) 一或多個修飾 (詞鍵搭配使用的虛擬按鍵) 。

按下與快捷方式關聯的修飾詞按鍵時,會叫用鍵盤快速鍵,然後同步選取非修飾詞按鍵。 例如,適用于複製的 Ctrl+C,以及用於儲存的 Ctrl+S。

Modifiers

取得用來修改鍵盤快速鍵之另一個按鍵的虛擬按鍵, (快速鍵) 。

按下與快捷方式關聯的修飾詞按鍵時,會叫用鍵盤快速鍵,然後同步選取非修飾詞按鍵。 例如,適用于複製的 Ctrl+C,以及用於儲存的 Ctrl+S。

適用於

另請參閱