How to do Multibinding in metrostyle app ? RRS feed

  • Question

  • Is Multibinding supported? If so the below code is not compiling.

                                    <MultiBinding  StringFormat="{}{0} ({1})">
                                        <Binding Path="LongName"/>
                                        <Binding Path="ShortName"/>




    Ajosh Jose
    Sunday, September 25, 2011 2:05 PM


All replies

  • Multibinding is not supported in the developer preview.
    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer
    • Marked as answer by Jose Atlanta Sunday, September 25, 2011 7:22 PM
    Sunday, September 25, 2011 5:01 PM
  • I can't find MultiBinding in the consumer preview either.  When can we expect to see it?

    Saturday, April 14, 2012 5:17 PM
  • Multibinding is not implemented in WinRT

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Proposed as answer by SGStino Wednesday, November 28, 2012 8:59 PM
    Sunday, April 15, 2012 3:45 AM
  • PLEASE, PLEASE, PLEASE put Multibinding at the top of the priority list after RTM!  I am wasting a lot of time adding in hundreds of lines of code and hacks to work around the lack of multibinding.  Along with relativesource ancestor, are absolutely key to be able to use the magnificent data binding facilities that are part of XAML!
    Sunday, April 29, 2012 10:07 PM
  • I was also a little disappointed to see the blue line show up below my MultiBinding declaration. Hope we can get this in the next version.
    Monday, April 30, 2012 9:42 PM
  • I was looking for a way to bind to multiple visual states, and thought of MultiBinding at first.  But then I found a blog post that demonstrates Peter Blois's BindingListener class.  I succeeded in applying it in a Metro-style app as seen in my answer to my question on the subject.  So you can apply BindingListener in your specific situation, or perhaps create your own general-purpose MultiBinding class with it.

    • Proposed as answer by Sergey_M Saturday, May 5, 2012 2:18 PM
    • Unproposed as answer by Sergey_M Saturday, May 5, 2012 2:18 PM
    Monday, April 30, 2012 11:54 PM
  • I am also desperately waiting for MultiBinding; please consider adding it to WinRT in the RTM build.
    Saturday, May 19, 2012 7:12 PM
  • +1


    Pa konèt mové, dèyè do sé on péyi.

    Wednesday, September 12, 2012 2:44 AM