Skip to content

Drag your window by set a UIElement as a Drag Region

SetDragMove ​

cs
DragMoveHelper dragMove = new DragMoveHelper(myWindow);
dragMove.SetDragMove(element);

UnsetDragMove ​

cs
dragMove.UnsetDragMove(element);

Demo ​

you can run demo and see this feature.

DragMoveAndResize

Released under the MIT License.