Question

Please check out this image http://postimage.org/image/ejdo207rz/

When I display a textbox in front of a component one datagrid the text box displays like above. If I position the textbox where it is not in front of the datagrid it displays fine. Any ideas why? possible solutions?

Was it helpful?

Solution

I ended up solving this by reading this article http://www.rqna.net/qna/znvkk-wpf-richtextbox-selected-text-distorted.html

This line of code in the xaml.cs constructor seems to clear it up.

RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly;

It is still slightly blurry but at least readable now.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top