We are using Infragistics v10.1 xamDockManager. Inside which we have a documentContentHost, inside which we have a SplitPane, then a TabGroupPane, and then ContentPanes. These ContentPanes can have again a xamDockManager, then documentContentHost, then SplitPane, the TabGroupPane, and then ContentPanes.
What we are trying to find is, if the outer level content pane closes, how can the inner level content pane be notified.
There is no relationship/communication between a contentpane and any dockmanager or any other elements that may happen to be nested somewhere within it so you would have to handle propogating whatever notifications you needed to send to elements within the pane.
Seems unlikely that there is no relationship between the children of xamDockManager, because otherwise, how is it able to save the layout of all its children and then load it back as well.
No I said that there is no relationship between a ContentPane and any element that happens to be nested within it - whether that be a dockmanager element or any other element type. The saving of a layout of a XDM only involves the ContentPanes directly within that XDM instance and has no information or association with any XDMs that may happen to be nested within its panes. The ContentPane is a ControlControl - that content can be anything. Also when you close a ContentPane, whether the CloseAction is HidePane or RemovePane, there is no communication with the descendants and there is no change in the state of any descendant contentpanes except that their visibility/loaded/etc would change just as would happen if any ancestor of a dockmanager were collapsed/removed. So if you click the close button of a contentpane and there happens to be a contentpane within a dockmanager nested within that contentpane, that pane is still in its same position/state/etc. so that if you reshow that outer pane the inner elements would still be in the same state.