UIElement.OnKeyboardAcceleratorInvoked 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) = OnKeyboardAcceleratorInvoked;
void OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs const& args);
protected virtual void OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs args);
function onKeyboardAcceleratorInvoked(args)
Protected Overridable Sub OnKeyboardAcceleratorInvoked (args As KeyboardAcceleratorInvokedEventArgs)

Parameters

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to

See also