don't allow drop in document pane

Oct 10, 2008 at 2:23 AM
In my application I have a single document that never changes, so I'd like to disable the ability to drop a panel into that center pane.  I've been looking through the code, and I don't see an easy way to do this.  Is there any way, short of editing the avalonDock code?

Thanks!
~Mayra
Oct 10, 2008 at 4:23 PM
Set DockableStyle="DockableToBorders" for all dockable contents that can't drop into the main DocumentPane.
Ado
Oct 10, 2008 at 4:55 PM
That worked perfectly, thanks!
Oct 25, 2010 at 2:37 AM

I have set "DockableToBorders" for all content panes in my XAML, but when I drag, I still get the option to drop in the center of the screen, which I am trying top stop.  Is there another setting to prevent the center drop position from being shown as available?