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
195
XamDockManager and Windows 7 "Window Dock"
posted

Hi i'm currently redesigning an old project and trying to upgrade it to a multiwindow applicaiton with your XamDockManager.

So i'm experiment currently with the DockManager, what i have is

<igDock:XamDockManager>
            <igDock:DocumentContentHost>
                <igDock:SplitPane>
                    <igDock:TabGroupPane>
                        <igDock:ContentPane></igDock:ContentPane>
                    </igDock:TabGroupPane>
                </igDock:SplitPane>
            </igDock:DocumentContentHost>
            <igDock:XamDockManager.Panes>
                <igDock:SplitPane igDock:XamDockManager.InitialLocation="DockedRight">
                    <igDock:TabGroupPane>
                        <igDock:ContentPane></igDock:ContentPane>
                    </igDock:TabGroupPane>
                </igDock:SplitPane>
            </igDock:XamDockManager.Panes>
        </igDock:XamDockManager>
with the AddDocument(); method i'm currently adding some UserControls for test purposes.

So when im dragging these out and want to dock them to the windows surface this isn't working.

Is there a trick to get it working ? Or isn't the XamDockManager supporting this ?
Or do I have to use other control types than UserControl ?

wheres my mistake ? :)

best regards
Mark
 

Parents
No Data
Reply
  • 54937
    Offline posted

    The Windows 7 snap functionality only works when the OS is dragging the window. By default that doesn't happen when using xamDockManager. Using 11.1 or later one could set the FloatingWindowDragMode to UseSystemWindowDrag. Note there are some limitations when using this so you may want to check the help.

Children