Styles enable you to define a policy for setting the dependency properties of visual elements. You can apply sets of properties manually by name, programmatically by name, or automatically using element-typed styles. In addition to providing constant dependency property values, styles can contain condition-based property values based on other dependency properties, data properties, or events.
But that's not all there is to styles. For information about how animations work, you'll want to read Chapter 16, and for information about styles as related to resources, themes, and skins, you'll want to read Chapter 12. Finally, if setting style properties isn't enough to give your control the look you want, the very next chapter shows you how to replace the look of a control completely.
Was this article helpful?
What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.