阅读背景:

DataTrigger vs数据绑定与转换器性能明智

来源:互联网 

I have a large number of styles defined for my grid (cell colors based on state, etc.). Right now I use DataTriggers to set the appropriate colors. I am looking to improve the performance of my app and was thinking that the large number of styles may be causing a slow down (due to the data changing constantly and the styles needing to be recalculated/refreshed). Is it better to use data binding with converters instead of DataTriggers?I have a large number of styles defined for my




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

分享到: