阅读背景:

依赖项属性更改时运行动画

来源:互联网 

I have created a UserControl with two dependency properties: Value and Color. The Color of the UserControl is dependent on the Value property. For example if Value=0 Color=Blue, Value=0.5 Color=Red and so on. This I have achieved using a custom converter that is bound to the Fill property, like so:I have created a UserControl with two dependenc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: