private void grip_MouseUp(object sender, MouseButtonEventArgs e)
 {
     if (Grip.IsMouseCaptured)
     {
         Grip.ReleaseMouseCapture();
     }
 }