This chapter began by providing an overview of the elements available in the Windows Phone FCL for XAML apps. It then focused on the three control types: ContentControls
, ItemsControls
, and RangeControls
. It showed the various subclasses of these controls, accompanied with practical examples.
The chapter examined how ContentControls
can host a single element and the differences between the various buttons such as the HyperlinkButton
, RepeatButton
, and ToggleButton
. It also demonstrated how to bind CheckBox
and RadioButton
controls to viewmodel collections, and you saw how to bind to the ListBox.SelectedItems
property, which is not readily achievable with the Windows Phone SDK out-of-the-box.
Finally, the chapter explored the RangeBase
controls: the Slider
and ProgressBar
, and demonstrated how to provide feedback to a user during asynchronous activities carried out by a BackgroundWorker
.
52.15.117.231