This instructional sample app for Windows 8.1 shows how to use the built-in interaction behaviors of platform controls for intuitive and engaging user experiences. Follow the guidelines, best practices, and examples described here to define these user experiences for your Windows Store app.
The platform controls can handle and respond to input from a variety of sources, including touch, touchpad, mouse, pen/stylus, and keyboard. They can also process input from a variety of input device modes, such as touch keyboard, mouse wheel, and pen eraser.
While other operating systems focus primarily on touch input, Windows enables you to build the kind of app you want, regardless of input device: consumption apps, productivity apps, innovative hybrid apps on PCs, laptops, tablets and pretty much any kind of form factor out there (and not quite there yet).
This is the companion sample for the User interaction, start to finish (HTML and XAML) topic.
DESCRIPTION
Use the default Windows Store app experiences provided by the platform controls for handling input from various sources (including touch, touchpad, mouse, pen/stylus, and keyboard) and input-device modes (such as touch keyboard, mouse wheel, and pen eraser). The sample follows Windows 8.1 principles, recommendations, and implementation details for platform controls, UI accessibility, and interactions.
In the sample, we implement a simple color mixer. The color mixer is a square object that takes indirect form input, which is used to specify an RGB color and an angle of rotation. The rotation value is used to calculate the level (0 to 255) of the selected color.
Note We recommend that you use the platform control libraries (HTML and XAML) wherever possible. The controls in these libraries provide the full Windows 8.1 user interaction experience, including standard interactions, animated physics effects, visual feedback, and accessibility. If you don't need customized interaction support, use these built-in controls.
This app is based on the Flat navigation sample and meets all basic Windows Store certification requirements and covers:
SEE ALSO