开发者

Unload event when changing font size in Windows XP

开发者 https://www.devze.com 2023-01-09 06:39 出处:网络
Is it possible to stop the Unloaded, OnApplyTemplate and OnTemplateChanged from triggering when we change the default font siz开发者_运维技巧e in Windows XP?

Is it possible to stop the Unloaded, OnApplyTemplate and OnTemplateChanged from triggering when we change the default font siz开发者_运维技巧e in Windows XP?

Unload event when changing font size in Windows XP

It's been causing us some problems and we haven't figured out a good way to handle it. If you know what other events get triggered under this situation, it would help us a lot too.

Thanks!


The short answer is no. Many of the theme-dependent properties are set up in WPF as dynamic resources, meaning that templates get re-applied, etc. so that WPF apps behave well when those theme-based resources are modified.

Maybe you should re-post your question looking for specific solutions for what's breaking when the user changes theme-based properties.

0

精彩评论

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