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
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
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.
I've checked the help and the limitations seems ok for me ;) so i've set the
FloatingWindowDragMode="UseSystemWindowDrag"
in my Dockmanager, but my added Documents are still not dockable.