CHAPTER 4

Image

Controls

The heart and soul of Windows 8 programming is embodied in the controls available to you in the Toolbox. I’ll show you the most important controls and how to use them in your application. The goal is not to provide a comprehensive reference guide but rather to illustrate how to declare these controls in the XAML and obtain a lot of flexibility with a minimum of coding.

TextControls

You’ve already seen the work-horse controls for text, TextBlock and TextBox, in Chapter 1. One notable aspect of the Text controls is that rather than having a Content property (which can be just about anything) they have a Text property as they ...

Get Windows 8 XAML Primer now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.