FlyoutBase.TryInvokeKeyboardAccelerator 方法

定义

尝试 (快捷键) 调用键盘快捷方式。

public:
 virtual void TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs ^ args) = TryInvokeKeyboardAccelerator;
void TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs const& args);
public void TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs args);
function tryInvokeKeyboardAccelerator(args)
Public Sub TryInvokeKeyboardAccelerator (args As ProcessKeyboardAcceleratorEventArgs)

参数

args
ProcessKeyboardAcceleratorEventArgs

ProcessKeyboardAcceleratorEventArgs

注解

当调用加速器并想要影响默认加速器处理时,在 OnProcessKeyboardAccelerators 重写中调用此方法。

适用于

另请参阅