Applies to Silverlight 4 and 5
In the previous recipe, we saw that using converters in data binding expressions can help us with a variety of things we want to do with the value that's being bound. It helps us in formatting the value as well as switching between colors. However, creating the converter can be a bit cumbersome for some tasks. To use it, we have to create the class that implements the
IValueConverter interface, instantiate it, and change the binding expression. With Silverlight 4, some extra properties were added on the
BindingBase class that can relieve us from writing a converter in some occasions. In Silverlight 5, no changes were made.
In this recipe, we'll look ...