开发者

How to databind a DependencyObject is SL4 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜