In XAML, place this event handler for your window’s MouseDown
event:
<Window MouseDown="Window_MouseDown">
...
</Window>
In the code-behind, place this:
private void Window_MouseDown(object sender, MouseButtonEventArgs e)
{
this.DragMove();
}
1
solved Move border-less window. [closed]