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

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

Platform: WPF |
Control: DockingManager |
Published Date: May 31, 2018 |
Last Revised Date: May 31, 2018 |
.NET Framework: 4

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

 

 

 

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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