O'Reilly logo

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition by Matthew MacDonald

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

Last Word

In this chapter, you saw how styles allow you to define named sets of property values and easily apply them to the appropriate element.

Styles are a key ingredient that support many other WPF features. For example, styles give you a way to apply new control templates to a range of controls; use different formatting, depending on the current system theme; dynamically reskin your application; and enhance elements with automatic animations. You'll learn about these techniques in the chapters to come. (In Chapter 15, you'll explore control templates, themes, and application skinning. In Chapter 21, you'll delve into animations.) But first, it's time to tackle another core WPF topic: its rich two-dimensional drawing features.

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