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 ...
Get Essential Silverlight 3 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.