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
65
DockingIndicator Behavior
posted

I have been trying to find a way around this for a while now but cannot seem to make the docking indicators work the way I want all the time.

I have this XAML in my window

<Dock:XamDockManager>
    <Dock:DocumentContentHost>
        <DockManager:SplitPane>
            <DockManager:TabGroupPane />
        </DockManager:SplitPane>
        <DockManager:XamDockManager.Panes>
            <DockManager:SplitPane DockManager:XamDockManager.InitialLocation="DockableFloating" />
        </DockManager:XamDockManager.Panes>
</Dock:XamDockManager>

In my program, I programmatically add ContentPane to the DocumentContentHost's TabGroupPane.  When I go to drag that ContentPane out of the tab group, I only get the 4 edge DockingIndicator hints display: I cannot get the center document docking indictor to display.

If I drag the ContentPane out of tab TabGroupPane and let it float and then start to drag the floating window, I get the center indictor as well as the 4 edge indicators.

My main concern is if I only have one ContentPane in the XamDockManager and I want to dock it outside of the tab group, I have to drag it to a floating window first and then I can create a new non-TabGroupPane dock.  I'd rather have that option without having to create a floating window first.

(I've included screen shoots of the process I'm talking about)

I'd really appreciate any ideas where I might be falling down or not understanding the mechanics of how and why the docking indicators display the way they do when dragging a ContentPane out of TabGroupPane buried under the DocumentContentHost.

Thanks in advance

Xamples.zip
Parents Reply Children
No Data