We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DockingManager AutoDispose Controls

Thread ID:





69561 Nov 1,2007 03:53 PM Nov 3,2007 06:29 AM Windows Forms 1
Tags: Tools
Asked On November 1, 2007 03:53 PM

I'd strongly recommend a new feature of the DockingManager:

Add a Property: (bool) AutoDisposeClosedControls

When true and DockVisiblity Changes to False on a control, and it's no longer a tabbed control, you SetEnableDocking to false and Dispose() the control.

THis is necessary because if a user closes a docked control it will linger forever, eating unneeded resources, unless its disposed.

I'm handling this right now as:

private void dockingManager1_DockVisibilityChanged(object sender, DockVisibilityChangedEventArgs arg)
if (!dockingManager1.IsTabbed(arg.Control) &&
dockingManager1.SetEnableDocking(arg.Control, false);

Golda Rebecal [Syncfusion]
Replied On November 3, 2007 06:29 AM

Hi ERobishaw,

Thanks for suggesting this feature to us.

We have notified our development team on this regard and will get back to you once we hear back from them.

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.