This project is read-only.

Windows forms panel not showing properly

Jul 23, 2010 at 11:44 AM
Edited Jul 23, 2010 at 12:22 PM


I'm having problems embedding a windows forms panel inside AvalonDock. I need this to get a hwnd so I can hook up an OpenGL view later. The problem I have is that the panel seems to get overdrawn by AvalonDock. A simple xaml that reproduces the issue is as follows:

<av:DockingManager Name="dockManager">
		<av:DocumentContent Title="Foo">
				<wf:Panel Dock="Fill" BackColor="DarkGreen" />

The panel will not be visible, but when resizing the form you can see the panel flash briefly. Also, at least some other controls (Button, TextBox) do not have this issue and show normally. I'm using release 3571. What can I do to solve this?