UIElement.TryInvokeKeyboardAccelerator Method

Definition

Attempts to invoke a keyboard shortcut (or accelerator) by searching the entire visual tree of the UIElement for the shortcut.

C#
public void TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs args);

Parameters

Remarks

Call this method in your OnProcessKeyboardAccelerators override when an accelerator is invoked and you want to influence the default accelerator handling.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also