Chapter 12. Control basics and UserControls

 

This chapter covers
  • Understanding the control base types
  • Working with button controls
  • Working with items controls
  • Creating your own UserControls
  • Implementing dependency properties

 

The previous chapter covered the basics of text, including how to display and edit it. Two of the items discussed—TextBox and RichTextBox—are controls. The TextBlock isn’t.

If you’re coming from another technology, you may assume that anything you can see or interact with is a control, and you’d be partially right. Interaction generally requires a Control, but seeing something such as a TextBlock requires only that it be a UIElement (covered in chapter 7).

In this chapter you’ll explore the base control types

Get Silverlight 5 in Action 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.