Keyboard Input

In contrast to the other areas, the keyboard input APIs look traditional—and even simpler—compared to past Microsoft technologies. Although an app might be used with a software keyboard or hardware keyboard, the resulting input looks identical.

Because keyboard input is not tied into pointer events, and because gestures and manipulations are based on pointers, users cannot automatically perform standard gestures with a keyboard. The one exception is the edge gesture, discussed earlier, which is automatically invoked by Windows+Z or the context menu key. When this happens, only the EdgeGesture.Completed event is raised because there’s no way to start then cancel the gesture in this fashion.

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.