简体   繁体   English

Windows窗体SplitContainer中托管的WPF控件

[英]WPF Control hosted in Windows Forms SplitContainer

I have WPF control placed on Windows Forms SplitContainer with ElementHost. 我将WPF控件放置在Windows Forms SplitContainer和ElementHost上。 When I dragged the splitter, I got unpleasant artifacts on place of my WPF control. 当我拖动拆分器时,我在WPF控件上放了令人不快的工件。 How can I manage with that trouble. 我该如何处理这种麻烦。

In my experience hosting WPF controls in a ElementHost is never perfect and always produces some rendering issues. 以我的经验,在ElementHost中托管WPF控件从来都不是完美的,并且总是会产生一些渲染问题。 There's some discussion on a few workarounds here that might help. 有一个关于几个解决方法的一些讨论在这里 ,这可能有助于。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM