开发者

Does Triggers inside control template or style have orders?

开发者 https://www.devze.com 2023-01-05 10:34 出处:网络
Is there any order of ex开发者_高级运维ecution for the trigger inside a controlTemplate of Style?. eg. IsMouseOver trigger should comes first after that IsSelected?Triggers are evaluated in the order

Is there any order of ex开发者_高级运维ecution for the trigger inside a controlTemplate of Style?. eg. IsMouseOver trigger should comes first after that IsSelected?


Triggers are evaluated in the order they are declared, so if multiple triggers set the same property then only the last one will take effect. If they are setting different properties then the order does not matter.

0

精彩评论

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