문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top