It looks like you have an error driver. WPF alone cannot cause a blue screen, but WPF calls DirectX, which in turn calls the graphics driver, and if the graphics driver contains errors, this can lead to a blue screen.
You cannot fix this at the WPF level because WPF is innocent of this particular problem. You need to update the graphics driver. A possible workaround, if there are no updates or the latest version does not fix, is to disable hardware acceleration for WPF, as this can lead to the removal of the buggy driver bit.
source
share