Condividi tramite


Hopping outside the box [How to: Leapfrog Bindings (bridge DataContexts) in Silverlight and WPF]

**

This blog has moved to a new location and comments have been disabled.

All old posts, new posts, and comments can be found on The blog of dlaa.me.

See you there!

Comments

  • Anonymous
    July 20, 2010
    I just spent 2 days trying to figure out EXACTLY this and had just about given up.  Very serendipitous.  Thanks.

  • Anonymous
    July 20, 2010
    The comment has been removed

  • Anonymous
    July 20, 2010
    The comment has been removed

  • Anonymous
    July 20, 2010
    This is new in silverlight 4? I can remember have tested it in sl3 and the binding couldn't find an element outside the data template.

  • Anonymous
    July 21, 2010
    The comment has been removed

  • Anonymous
    July 21, 2010
    SpamMe, All the necessary functionality to support this was present in Silverlight 3 - but it's entirely possible there was a bug that got in the way.

  • Anonymous
    July 21, 2010
    This is very clever,  most ElementName binding examples attach to the scroll bar,  you are doing sometning new and very useful

  • Anonymous
    July 22, 2010
    Doesn't work with datagrids

  • Anonymous
    July 22, 2010
    Barb, Sorry to hear that! If you want to send me a simple project that demonstrates the problem, I can pass it on to the DataGrid folks to have a look at. (I assume you're referring to the Silverlight SDK DataGrid...) Thanks!