C# – What’s the difference between DragDropEffects.Copy and DragDropEffects.Move

ccopydrag and dropeffectsmove

I have looked all over the internet for an answer to this question and I cannot seem to find it.

What's the difference between DragDropEffects.Copy and DragDropEffects.Move?

In my code on the DragEnter I set it to:

private void Canvas_DragEnter(object sender, DragEventArgs e)
    {
        if (e.Data.GetDataPresent(DataFormats.FileDrop))
            e.Effect = DragDropEffects.Move;
    }

But if I use

private void Canvas_DragEnter(object sender, DragEventArgs e)
    {
        if (e.Data.GetDataPresent(DataFormats.FileDrop))
            e.Effect = DragDropEffects.Copy;
    }

There is no difference in the program.

Could someone please explain the difference?

Best Answer

They provide different mouse cursors, if you have Allow Drop enabled on the target.