开发者

WPF Triggers - Pain Points

开发者 https://www.devze.com 2023-01-18 07:50 出处:网络
I have a very big control, which in-turn contains lots of small controls hosted in it. Previously, we were applying themes using VisualTree iteration. We planned to replace the logic with Triggers. No

I have a very big control, which in-turn contains lots of small controls hosted in it. Previously, we were applying themes using VisualTree iteration. We planned to replace the logic with Triggers. Now, when w开发者_Python百科e apply any theme it takes much time than the previous implementation. [For example, previously it took around 100ms now it varies from 1-2s]

My question is this. Is there some thing we should avoid while using Triggers in WPF? or Using Triggers for such a big project for applying themes is a bad idea?

0

精彩评论

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