private void AssociatedObjectOnMouseLeftButtonDown(object sender, MouseButtonEventArgs e) { _cursor = CursorHelper.ConvertToCursor(AssociatedObject, e.GetPosition(AssociatedObject)); AssociatedObject.Visibility = Visibility.Hidden; DragDrop.DoDragDrop(AssociatedObject, AssociatedObject.DataContext, DragDropEffects.Move); AssociatedObject.Visibility = Visibility.Visible; _cursor = null; }