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

Removing Items from a DockingContainer

Thread ID:





79972 Mar 5,2009 04:16 PM UTC Mar 6,2009 06:57 PM UTC WPF 1
Tags: Tools
Administrator [Syncfusion]
Asked On March 5, 2009 04:16 PM UTC

I'm having trouble removing a control from the DockingManager. I can remove it from the Children collection, but the change doesnt reflect in the display.

What's the solution?

I've pasted some of the code below.

Thanks in advance,

bool doesContainBefore = this.dockingManager.Children.Contains(controlToRemove);

Console.Out.WriteLine("doesContainBefore = " + doesContainBefore.ToString());

// Remove the old one from the collection <---- doesn't work

bool doesContainAfter = this.dockingManager.Children.Contains(controlToRemove);

Console.Out.WriteLine("doesContainAfter = " + doesContainAfter.ToString());

Balavasanth [Syncfusion]
Replied On March 6, 2009 06:57 PM UTC

Hi Frank,

Thanks for your interests in Syncfusion products

We could not able to reproduce your mentioned issue. Instead we have create a simple sample which demonstrates the dynamic adding of the children element to the Docking Manager control and dynamically removing its added children. Kindly download the sample from the below mentioned location.


Please let us know if you have any queries.



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