Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.19 KB

uielement_accesskeyinvoked.md

File metadata and controls

34 lines (21 loc) · 1.19 KB
-api-id -api-type
E:Microsoft.UI.Xaml.UIElement.AccessKeyInvoked
winrt event

Microsoft.UI.Xaml.UIElement.AccessKeyInvoked

-description

Occurs when a user completes an access key sequence.

-xaml-syntax

<uiElement AccessKeyInvoked="eventhandler"/>

-remarks

This event indicates that the action associated with the access key sequence should be invoked. For example, if an element’s AccessKey is "A" and the user presses Alt-A.

An access key can have one or several characters. This event occurs only when users type all the characters of an access key. For example, if an AccessKey value is "BC", the event doesn't occur when the user presses "B". The event occurs when the user presses "B", then "C".

This event occurs when the key is pressed, not when it's released.

-examples

-see-also

AccessKeyInvokedEventArgs, Access keys guidelines