I have MainWindow with ScrollViewer inside a Grid. The ScrollViewer contains UserControl that is used to display a list of items and scroll inside the bounds of the MainWindow Grid.
The problem is when I scroll the content the WindowsFormsHost is rendered in top of the MainWindow outside the MainWindow/Grid bounds.
How can I render the WindowsFormsHost inside the MainWindow Grid?
Thank you.
Every control from WindowsForm ms is rendered always on top. You cannot do anything about that. I had the same problem with WebBrowser as it is WindowsForms control it overrided my notifications. As I result I was forced to search for alternatives such as Chromium for .NET.
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.