Touch Input
Universal apps can leverage a large number of events that enable any kind of touch interaction imaginable. This rich functionality is exposed through UIElement
, so it is pervasive as well as flexible. It’s worth noting that because of the rich built-in behaviors of the built-in controls, certain types of apps don’t ever need to directly interact directly with any of these events. Controls such as ScrollViewer
, as seen in the preceding chapter, handle a number of touch events on your behalf and already do what you (and users) expect them to do.
Touch events can be separated into three categories:
→ Pointers—The lowest-level raw events
→ Gestures—Higher-level events for motions calculated from the pointer events
→ Manipulations—Complex ...
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.