O'Reilly logo

XAML Unleashed by Adam Nathan

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

Summary

The combination of Styles, templates, and visual states is powerful and often confusing to someone learning about XAML. Adding to the confusion is the fact that Styles can (and often do) contain templates, and elements in templates all have their own Styles (whether marked explicitly or inherited implicitly).

These mechanisms are so powerful, in fact, that often you can restyle an existing control as an alternative to writing your own custom control. This is great news, because restyling an existing control is usually significantly easier than writing a new control, and it can perhaps be done entirely by a graphic designer rather than a programmer.

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