WindowsFormsHost is placed above the AdornerLayer?!

Hi,

I′m using adorners for FrameworkElements and it has worked perfectly fine until now, when I also want adorners on windows forms controls hosted inWindowsFormsHosts.

It seems like theWindowsFormsHost is placed above the AdornerLayer and not beneath it as it should? Is there a solution to this problem, or am I doing something wrong?

Thanks!

/ Joel

[506 byte] By [Joel_F] at [2007-12-24]
# 1

The WindowsFormsHost always appears on top of a WPF element. There are many restrictions/constraints involved with WinForms interop. For more information about these concerns, you can check out my blog post about it: http://www.infusionblogs.com/blogs/jsmith/archive/2006/07/19/661.aspx There are many other informative blog posts out there about this too.

JoshSmith at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2
I′ve read another post in the Cider Forum, where someone from Microsoft said that they still thought about how to solve the issue, where it ends up above the AdornerLayer. So it would be nice with an answer from them, where they will let us know if they'll fix this or not.

/ Joel

Joel_F at 2007-10-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified