O'Reilly logo

Essential Silverlight 3 by Ashraf Michail

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

9. Controls

TO BUILD YOUR application user interface, you can use the built-in Silverlight controls such as a button, list box, and text box. If you want to customize the appearance of a built-in control, you need to understand the Silverlight control model.

Chapter 2, “Applications,” described how to build a control by deriving from the UserControl class. You can also separate your code from your XAML file that contains your art assets. However, if you want someone else to change the appearance of your control, you would need to

• Specify some way for the user to change the XAML, which could be as simple as providing a property on your class.

• Define some protocol for the elements that cannot change so that the code is still functional when ...

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