开发者

Silverlight property binding

Could Someone help me to find out why l.X1 is set to default value(0.开发者_高级运维0) when the binded source is having a value of 156. Following image may be self explanatory.

Silverlight property binding


http://forums.silverlight.net/forums/t/66005.aspx

I don't think you can use a DependencyProperty as a BindingSource in SilverLight. See the link above.


These missing lines in the CLR set methods were causing that odd result. In set methods I played with a different attached property. SetValue(CenterXProperty, value); SetValue(CenterYProperty, value);

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜