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.

How to activate the child window on trying to re-add the same child in DockingManager

As per implementation of DockingManager, we cannot add the same element to the DockingManager which is already exist in DockingManager children collection. While adding same child element to the DockingManager, we can activate that element in DockingManager. The following code examples illustrate the same,

 

Mainwindow.xaml:

 

Code to check whether the element is already in children collection of DockingManager or not:

We have iterated the child element of DockingManager and checked the existence of the element by its name. If the element is existing in DockingManager, activate the window using ActivateWindow method of DockingManager.

 

Sample:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/DockingManagerSample_ActiveElement825317832.zip

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8791 05/31/2018 05/31/2018 WPF DockingManager 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.