private void ContentControl_MouseDown(object sender, MouseButtonEventArgs e)
{
if (e.LeftButton==MouseButtonState.Pressed)
{
this.DragMove();
}
}


  



<Window  WindowStyle="None" MouseDown="ContentControl_MouseDown">