Data templates provide a powerful way to visualize any data. We discussed a few ways to customize the appearance of data templates. In this recipe, we'll look at value converters, which is a flexible mechanism to customize data bindings in general, and data templates in particular. Their power ranges from simple data transformations to significant visual changes.
Make sure Visual Studio is up and running.
We'll create a weather forecast application that uses a value converter to convert a general weather outlook into a brush.
Forecastwith some simple properties: ...