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
1350
Prevent DockBottom in DockAreaPane
posted

Hi,

I want to prevent dockking in the bottom area of a certain DockAreaPane object.

If I use: ultraDockManager1.DefaultPaneSettings.AllowDockBottom = DefaultableBoolean.False;

that works fine, but prevents the user only from docking in the bottom area of the whole form.

I want to do something like this:

DockAreaPane areaPaneTop = new DockAreaPane(DockedLocation.DockedTop, "MyPanels");
areaPaneTop.DefaultPaneSettings.AllowDockBottom = DefaultableBoolean.False;

ultraDockManager1.DockAreas.Add(areaPaneTop);

It shouldn't be possible to dock anything in the bottom area of the areaPaneTop. The red line doesn't work.

How can I do this?

Thanks for your help!

Regards

Michael