Summary

This chapter introduced the concept of resources, styles, and triggers, all of which are essential components in XAML-based applications targeted at either WPF or Silverlight. By using a combination of resources and styles, you can reuse control styles and properties and also promote consistency throughout your application. Your application will be better organized, easy to maintain, and capable of achieving complex functionality through declarative syntax alone. Understanding how to use resources, styles, and triggers will go a long way toward making you a proficient developer.

Get XAML Developer Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.