A colleague mentioned that he had a strange UI error on his second monitor for a WPF application he’s working on:
This looks like a WPF rendering issue. 2 possible solutions I could think of:
-
Change the Rendering Mode using the following code snippet:
RenderOptions.ProcessRenderMode = RenderMode.SoftwareOnly;
-
Disable Hardware acceleration by adding the following registry key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration, DWORD value=1
More information can be found here: https://msdn.microsoft.com/en-us/library/aa970912(v=vs.110).aspx