共用方式為


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)

參數

args
ProcessKeyboardAcceleratorEventArgs

ProcessKeyboardAcceleratorEventArgs

範例

TryInvokeKeyboardAccelerator

適用於