Chapter 10. Controls and UserControls

In the previous chapter, we covered the basics of text, including how to display and edit it. Two of the items discussed—the TextBox and RichTextBox—are both actually 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, to see something such as a TextBlock, it requires only that it be a UIElement (covered in chapter 6).

In this and the following sections, we'll look at the ...

Get Silverlight 4 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.