Version

Modes of Pane Dragging

The xamDockManager supports several different modes of floating pane dragging. You can control which one to make available to the user by setting the respective value of the FloatingWindowDragMode property of the xamDockManager. Following is a list of these values with a description of the dragging mode the value sets:

  • Immediate – the window is moved in synch with the dragging

xamDockManager drag 1.png

Figure 1: Immediate dragging * Deferred – the window’s content is moved when the dragging is finished and the mouse button is released. During the dragging, a transparent or semi-transparent window frame is moved instead.

xamDockManager drag 2.png

Figure 2: Deferred dragging * UseDragFullWindowsSystemSettings – selecting this option means that the System.Windows.SystemParameters.DragFullWindows property will be used. UseSystemWindowDrag – the drag operation is handled by the operating system based on its Show Window Contents While Dragging setting.Note on Windows® 7:

When the Show Window Contents While Dragging setting allows it, the UseSystemWindowDrag setting will allow dragging windows into and out of a maximized state, but in this case some functionalities, such as setting the Infragistics.Windows.DockManager.Dragging.MoveWindowAction.NewLocation, will not be supported.

xamDockManager drag 3.png

Figure 3: Dragging a window into maximized state (Windows 7)