KeyboardAcceleratorInvokedEventArgs.KeyboardAccelerator 属性

定义

获取与 Invoked 事件关联的 (或快捷键) 对象。

KeyboardAccelerator KeyboardAccelerator();
public KeyboardAccelerator KeyboardAccelerator { get; }
var keyboardAccelerator = keyboardAcceleratorInvokedEventArgs.keyboardAccelerator;
Public ReadOnly Property KeyboardAccelerator As KeyboardAccelerator

属性值

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

适用于

另请参阅