阅读背景:

WPF中属性触发器相对于数据触发器的优点是什么?

来源:互联网 

I try to understand the advantage of Properties Triggers over Data Triggers in WPF. It seems that Properties Triggers can be triggered only by a value that changed in dependency property, and Data Triggers can be triggered both by a value that changed in dependency property, and a value that changed in a .Net object that implement INotifyPropertyChange. So my question is, why not always use Data Triggers?I try to understand the advantage of Properties




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

分享到: