MultiBinding

At times, you want to bind a control property to multiple properties on the binding source object, taking each of those property values and merging them into a single value to be consumed by the target. This is known in WPF as a MultiBinding, but this feature is not available in Silverlight. Earlier in this chapter, we discussed combining the values of multiple properties together while data binding using a value converter, which is a way to get around this omission. WPF's MultiBinding does have the advantage of being a slightly more generic solution, but you could make the value converter solution a little more generic by passing the names of the source properties to use in the converter parameter. Colin Eberhardt has created a ...

Get Pro Business Applications with Silverlight 5 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.