UIElement.OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) UIElement.OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) UIElement.OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) UIElement.OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) Method

Definition

Called when a keyboard shortcut (or accelerator) is processed in your app. Override this method to handle how your app responds when a keyboard accelerator is invoked.

protected : virtual void OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs args)
virtual void OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs args) const;
protected virtual void OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs args)
Protected Overridable Sub OnKeyboardAcceleratorInvoked(args As KeyboardAcceleratorInvokedEventArgs)

Parameters

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

See also