简体   繁体   中英

WPF: windowsformshost with webbrowser is very slow

I need to suppress script errors, context menu and shortcuts in WebBrowser control in my application. But WPF WebBrower doesn't support this actions. So, I use WinForms WebBrowser. But WinForms WebBrowser is very slow during resizing of WindowsFormsHost control.

What do you recommend me?

PS I use .Net framework 3.5

Temporary solution: make resizing without animation. Forexample:

<GridSplitter ShowsPreview="true" ... />

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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