Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3166
Disable Pane to be displayed as MdiChild
posted
Hi,

I have control displayed in a floating pane and I don't want it to be docked to any side and should not be converted to MDIChild. I have set the following properties on the DockableControlPane. It works by preventing it to be docked to the sides. But when the user drags the pane towards the center (of the docking interface) it can be dropped in the center which converts it to MDIChild. How can I prevent this?

pane.Settings.AllowDockBottom = DefaultableBoolean.False;
pane.Settings.AllowDockLeft = DefaultableBoolean.False;
pane.Settings.AllowDockRight = DefaultableBoolean.False;
pane.Settings.AllowDockTop = DefaultableBoolean.False;
pane.Settings.AllowDockAsTab = DefaultableBoolean.False;
pane.Settings.CanDisplayAsMdiChild = DefaultableBoolean.False;