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?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论