Dela via


UIElement.OnProcessKeyboardAccelerators Method

Definition

Called just before a keyboard shortcut (or accelerator) is processed in your app. Invoked whenever application code or internal processes call ProcessKeyboardAccelerators. Override this method to influence the default accelerator handling.

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)

Parameters

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to

See also