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,
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.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:|