-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.UIElement.TryInvokeKeyboardAccelerator(Windows.UI.Xaml.Input.ProcessKeyboardAcceleratorEventArgs) |
winrt method |
Attempts to invoke a keyboard shortcut (or accelerator) by searching the entire visual tree of the UIElement for the shortcut.
The ProcessKeyboardAcceleratorEventArgs.
Call this method in your OnProcessKeyboardAccelerators override when an accelerator is invoked and you want to influence the default accelerator handling.