Exemplo n.º 1
0
 private void DropTargetContainer_MouseLeave(object sender, MouseEventArgs e)
 {
     if (!DragManager.IsDragging)
     {
         return;
     }
     DragManager.UpdateDropTarget(null);
 }
Exemplo n.º 2
0
        private void DropTargetContainer_MouseMove(object sender, MouseEventArgs e)
        {
            if (!DragManager.IsDragging || e.OriginalSource != sender)
            {
                return;
            }
            var dropTarget = this.dropTarget.GetDropLocation(e.GetPosition(DropTargetContainer));

            DragManager.UpdateDropTarget(dropTarget);
        }