Styles and templates
The topics in this section describe how you can customize Windows Presentation Foundation and Silverlight 2 controls by creating a set of templates and styles, resulting in a unique and consistent look for your application. Templates and styles define the pieces that make up a control and the default behavior of the control, respectively.
Note
Styles and templates are not supported in Microsoft Silverlight 1.0 projects, but you can create JavaScript classes to define reusable controls. For an example, see the Button class in the ButtonGallery sample that is available from the Samples tab in the Welcome Screen (on the Help menu). For more information, see the Silverlight learning center.
In This Section
Conceptual
How to
Try it
Try it: Customize the appearance of the check mark in a SimpleCheckBox
Try it: Customize the appearance of the expander button in a SimpleComboBox
Try it: Changing the look of the selected item in a SimpleListBox
Try it: Customize the progress indicator of a SimpleProgressBar