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
1830
Root Panes
posted

I have a simple XDM with a DocumentContentHost, SplitPane, and TabGroupPane.  If I programmatically add a ContentPane to the TabGroupPane, then drag it to float (I believe you call this a ToolWindow), and then dock it again (to the right), why when I iterate the XDM.Panes collection is that docked SplitPane in the collection twice?  The first reference has a location of Floating (via GetPaneLocation), and the second DockedRight.

I came upon this when I wanted to iterate panes and determine if any were floating.  Is GetPaneLocation the most straightforward way?  Google produced a link to some documentation with an IsFloating property, but that property appears to be obsolete.

I'm using 12.1.  Thanks.

  
Parents
  • 138253
    Offline posted

    Hello Darryl,

     

    Thank you for your post. I have been looking into it and I created a sample project following your scenario and by using XDM’s GetPanes method everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.

     

    Looking forward for your reply.

    XDMGetPanes.zip
Reply Children