在app.xaml.cs添加以下代码即可:
protected override void OnStartup(StartupEventArgs e)
{
RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly;
}
这是一个很简单粗暴的解决方案,希望对你有帮助。
相关链接:
博客指出在app.xaml.cs添加代码是一个简单粗暴的解决方案,还给出了相关链接https://stackoverflow.com/questions/2169600/how-does-one-disable-hardware-acceleration-in-wpf/2169657#2169657 。
在app.xaml.cs添加以下代码即可:
protected override void OnStartup(StartupEventArgs e)
{
RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly;
}
这是一个很简单粗暴的解决方案,希望对你有帮助。
相关链接:

被折叠的 条评论
为什么被折叠?