Tooltips and Conversions .......................................................................................................................................................171
Sketching with Sliders ..............................................................................................................................................................174
The Varieties of Button Experience .....................................................................................................................................176
Defining Dependency Properties .........................................................................................................................................184
RadioButton Tags ......................................................................................................................................................................194
Keyboard Input and TextBox .................................................................................................................................................200
Touch and Thumb .....................................................................................................................................................................204
Chapter 6: WinRT and MVVM ....................................................................... 211
MVVM (Brief and Simplified).................................................................................................................................................211
Data Binding Notifications .....................................................................................................................................................212
A View Model for ColorScroll ................................................................................................................................................214
Syntactic Shortcuts ...................................................................................................................................................................219
The DataContext Property .....................................................................................................................................................222
Bindings and TextBox ...............................................................................................................................................................224
Buttons and MVVM ..................................................................................................................................................................230
The DelegateCommand Class ................................................................................................................................................231
Chapter 7: Building an Application .............................................................. 238
Commands, Options, and Settings ......................................................................................................................................238
The Segoe UI Symbol Font.....................................................................................................................................................240
The Application Bar ..................................................................................................................................................................246
Popups and Dialogs .................................................................................................................................................................248
Windows Runtime File I/O .....................................................................................................................................................251
Await and Async ........................................................................................................................................................................258
Calling Your Own Async Methods .......................................................................................................................................260
Controls for XamlCruncher ....................................................................................................................................................263
Application Settings and Isolated Storage........................................................................................................................278
The XamlCruncher Page .........................................................................................................................................................282
Parsing the XAML......................................................................................................................................................................286
XAML Files In and Out .............................................................................................................................................................288
The Settings Dialog ..................................................................................................................................................................292