O'Reilly logo

Silverlight 5 in Action by Pete Brown

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required