Drag your window by set a UIElement as a Drag Region
SetDragMove
1 | DragMoveAndResizeHelper.SetDragMove(window, element); |
UnsetDragMove
1 | DragMoveAndResizeHelper.UnsetDragMove(element); |
Demo
you can run demo and see this feature.
Drag your window by set a UIElement as a Drag Region
1 | DragMoveAndResizeHelper.SetDragMove(window, element); |
1 | DragMoveAndResizeHelper.UnsetDragMove(element); |
you can run demo and see this feature.