Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
640
Get associated xamDockManager from SplitPane
posted

Hi,

 I have the following code (used as part of a unit test), 

 xamDockManager = new XamDockManager();
            splitPane = new SplitPane();

            xamDockManager.Panes.Add(splitPane);

At a later step (where I don't have the xamDockManager reference, only the splitPane), I need to get the xamDockManager where the splitPane belongs. Testing splitPane.Parent gives me null. Is this correct ? Is there other way to get the associated xamDockManager if I only have the splitPane available ?

 

Thanks,
Claudio.

Parents Reply Children
No Data