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.