Summary
In this chapter we went far beyond the basic UI capabilities of Silverlight. We started with styling our controls on three different levels—element, page, and global. We learned all about the hierarchy they work on and what overrides what. Once we had the firm understanding on styling, we went on to discuss the concept of templates and TemplateBinding
. Templates are a base concept of Silverlight, and by using them right, you have a full control on how your UI looks. We then extended the templating concept with the use of data templates. Data templates are a concept you will deal a lot with when creating LOB applications. Taking data and visualizing it with templates is one of the most-used concepts Silverlight has to offer. Next in line were the transformations and animations where we discussed how to change an object look and how to animate it. We got to know the Storyboard
object and all its properties, the different kinds of animation Silverlight offers, and we finished up the...