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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager AutoDispose Controls

Thread ID:





69561 Nov 1,2007 07:53 PM UTC Nov 3,2007 10:29 AM UTC WinForms 1
Tags: Tools
Asked On November 1, 2007 07:53 PM UTC

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 10:29 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon