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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access