阅读背景:

WPF - 如何为应用程序中的所有控件启用TextFormattingMode =“Display”?

来源:互联网 

I am currently programming WPF on Windows XP where anti-aliasing is rendered as blury text. We want to anti-aliasing on the whole WPF application by setting TextOptions.TextFormattingMode to Display. The code below solves the issue for all user controls and all its content, but not for windows we open from the application. What type should I set in TargetType to cover all Window and User Control elements in the application? Or are there better ways to do this?I am currently programming WPF on Windows XP wh




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

分享到: