Styles and Control Templates

Summary

Windows Presentation Foundation provides a high degree of control over many aspects of the user interface. This Drill shows different ways to access resources in WPF, how to create styles and a StyleSelector to apply them, and how to change a control’s appearance with a template. It also demonstrates how to create theme-specific styles and templates.

Audience

This Drill is for developers who want to gain a high degree of control over many aspects of the user interface in WPF.

What you'll learn

You will learn how to create styles and build a StyleSelector to apply them. You’ll also learn how to change a control’s appearance with a template, as well as how to create theme-specific styles and templates.

What you need to know

We assume that you’re already familiar with the concepts of programming and you’ve some experience of Visual Studio 2005. You’ll also need to be comfortable with Visual C# syntax, object-oriented development, and have a basic understanding of XML.