I saw that SL4 support binding on DependencyObject rather th开发者_Go百科an FrameworkElement... This works fine in xaml, however I need to do that in code behind.
However I don't see any method "SetBinding" in the DependencyObject class, how can I do ?
Thanks for your responses
You're looking for the BindingOperations.SetBinding() method.
精彩评论