开发者

How to databind a DependencyObject is SL4 in code behind?

开发者 https://www.devze.com 2022-12-27 14:30 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号