FlyoutBase.OnProcessKeyboardAccelerators 方法

定义

在应用中处理键盘快捷方式 (快捷键) 之前调用。 每当应用程序代码或内部进程调用 ProcessKeyboardAccelerators 时调用。 重写此方法以影响默认加速器处理。

protected:
 virtual void OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs ^ args) = OnProcessKeyboardAccelerators;
void OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs const& args);
protected virtual void OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs args);
function onProcessKeyboardAccelerators(args)
Protected Overridable Sub OnProcessKeyboardAccelerators (args As ProcessKeyboardAcceleratorEventArgs)

参数

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

示例

TryInvokeKeyboardAccelerator

适用于