63 references to Move
System.Windows.Forms (7)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (2)
160e.Effect = keyState.HasFlag(MODIFIERKEYS_FLAGS.MK_CONTROL) ? DragDropEffects.Copy : DragDropEffects.Move; 252: DragDropEffects.Move;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2061DoDragDrop(item, DragDropEffects.Move);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (2)
25e.Effect = DragDropEffects.Move; 50e.Effect = DragDropEffects.Move;
System\Windows\Forms\OLE\DragDropEffects.cs (1)
38All = Copy | Move | Scroll,
System\Windows\Forms\OLE\DropImageType.cs (1)
29Move = DragDropEffects.Move,
System.Windows.Forms.Design (36)
System\Windows\Forms\Design\Behavior\Behavior.cs (1)
330e.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move;
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
108_allowedEffects = DragDropEffects.Copy | DragDropEffects.None | DragDropEffects.Move;
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (1)
313: DragDropEffects.Move
System\Windows\Forms\Design\ComponentTray.cs (3)
1129Debug.Assert((de.AllowedEffect & (DragDropEffects.Move | DragDropEffects.Copy)) != 0, "DragDropEffect.Move | .Copy isn't allowed?"); 1130if ((de.AllowedEffect & DragDropEffects.Move) != 0) 1132de.Effect = DragDropEffects.Move;
System\Windows\Forms\Design\OleDragDropHandler.cs (15)
365if ((oldEffect & DragDropEffects.Move) == 0 || 387if ((oldEffect & DragDropEffects.Move) == 0 || 467DragDropEffects allowedEffects = DragDropEffects.Copy | DragDropEffects.None | DragDropEffects.Move; 480allowedEffects &= ~DragDropEffects.Move; 548bool isMove = (effect & DragDropEffects.Move) != 0 || ((int)effect & AllowLocalMoveOnly) != 0; 618bool moveAllowed = (de.AllowedEffect & DragDropEffects.Move) != DragDropEffects.None || localMoveOnly; 621if ((de.Effect & DragDropEffects.Move) != 0 && !moveAllowed) 636if (localMoveOnly && (de.Effect & DragDropEffects.Move) != 0) 638de.Effect |= (DragDropEffects)AllowLocalMoveOnly | DragDropEffects.Move; 884else if ((de.AllowedEffect & DragDropEffects.Move) != 0) 886de.Effect = DragDropEffects.Move; 911if ((de.AllowedEffect & DragDropEffects.Move) != 0) 913de.Effect |= DragDropEffects.Move; 961bool move = (de.AllowedEffect & DragDropEffects.Move) != 0 || localMoveOnly; 992de.Effect = DragDropEffects.Move;
System\Windows\Forms\Design\ParentControlDesigner.cs (5)
1459de.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move; 1615Debug.Assert((de.AllowedEffect & (DragDropEffects.Move | DragDropEffects.Copy)) != 0, "DragDropEffect.Move | .Copy isn't allowed?"); 1616if ((de.AllowedEffect & DragDropEffects.Move) != 0) 1618de.Effect = DragDropEffects.Move; 1660de.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1893if (de.Effect == DragDropEffects.Move || copy) 2285de.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move;
System\Windows\Forms\Design\ToolStripItemBehavior.cs (3)
725if (e.Effect == DragDropEffects.Move || copy) 853e.Effect = DragDropEffects.Move; 886e.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (3)
2651e.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move; 2666e.Effect = (Control.ModifierKeys == Keys.Control) ? DragDropEffects.Copy : DragDropEffects.Move; 2753if (e.Effect == DragDropEffects.Move || copy)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
510DoDragDrop(item, DragDropEffects.Move); 517e.Effect = DragDropEffects.Move;
System.Windows.Forms.Tests (10)
System\Windows\Forms\ControlTests.Handlers.cs (1)
1302yield return new object[] { new DragEventArgs(null, 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move) };
System\Windows\Forms\DragEventArgsTests.cs (6)
12yield return new object[] { new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move }; 18yield return new object[] { new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move, DropImageType.Copy, "Move to %1", "Documents" }; 56DragEventArgs e = new(new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move) 68DragEventArgs e = new(new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move, DropImageType.Copy, "Copy to %1", "Documents") 80DragEventArgs e = new(new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move, DropImageType.Copy, "Move to %1", "Documents") 92DragEventArgs e = new(new CustomDataObject(), 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move, DropImageType.Copy, "Move to %1", "Desktop")
System\Windows\Forms\ToolStripControlHostTests.cs (1)
3345yield return new object[] { new DragEventArgs(null, 1, 2, 3, DragDropEffects.Copy, DragDropEffects.Move) };
System\Windows\Forms\ToolStripSplitStackDragDropHandlerTests.cs (2)
32dragEventArgs.Effect.Should().Be(DragDropEffects.Move); 80dragEventArgs.Effect.Should().Be(DragDropEffects.Move);
System.Windows.Forms.UI.IntegrationTests (10)
DragDropTests.cs (10)
773if (dropEffect == DragDropEffects.Move) 804if ((e.Effect & DragDropEffects.Move) == DragDropEffects.Move) 840(e.AllowedEffect & DragDropEffects.Move) == DragDropEffects.Move) 843e.Effect = DragDropEffects.Move; 851else if ((e.AllowedEffect & DragDropEffects.Move) == DragDropEffects.Move) 854e.Effect = DragDropEffects.Move; 890if (item is not null && (e.Effect == DragDropEffects.Copy || e.Effect == DragDropEffects.Move))