CoreDispatcher.AcceleratorKeyActivated event

Applies to Windows and Windows Phone

Fired when an accelerator key is activated (pressed or held down).

Syntax


public:
event TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs>^ AcceleratorKeyActivated {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<CoreDispatcher, AcceleratorKeyEventArgs>

Remarks

Windows 8 behavior

XAML processes CTRL+TAB or CTRL+SHIFT+TAB key presses for tab navigation, and apps do not get a chance to handle them from the AcceleratorKeyActivated event. Starting in Windows 8.1, we will allow the tab navigation processing with CTRL+TAB or ALT+TAB or SHIFT+TAB.

If you handled the AcceleratorKeyActivated event in Windows 8 to do special processing, the event will get fired for Tab keys when invoked with CTRL, ALT, or SHIFT modifiers in Windows 8.1. Verify tab navigation with CTRL+TAB or ALT+TAB or SHIFT+TAB keys.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

See also

CoreDispatcher

 

 

Show:
© 2014 Microsoft