共用方式為


UIElement.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)

參數

適用於

另請參閱