13 references to DoDragDrop
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
4799
/// then pass the <paramref name="data"/> to <see cref="
DoDragDrop
(object, DragDropEffects)"/>.
4804
/// the same as <see cref="
DoDragDrop
(object, DragDropEffects)"/>.
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
208
res = DropSource.
DoDragDrop
(dropSourceBehavior.DataObject, dropSourceBehavior.AllowedEffects);
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
529
effect = c.
DoDragDrop
(data, allowedEffects);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
619
DropSource.
DoDragDrop
(data, DragDropEffects.All);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
510
DoDragDrop
(item, DragDropEffects.Move);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (3)
1830
Assert.Equal(DragDropEffects.None, control.
DoDragDrop
(data, allowedEffects));
1848
Assert.Equal(DragDropEffects.None, control.
DoDragDrop
(data, allowedEffects));
1859
Action dragDrop = () => control.
DoDragDrop
(null, DragDropEffects.All);
System.Windows.Forms.UI.IntegrationTests (4)
DesignBehaviorsTests.cs (1)
118
var effects = node.TreeView!.
DoDragDrop
(dataObject!, DragDropEffects.Copy);
DragDropTests.cs (3)
98
form.
DoDragDrop
(data, DragDropEffects.Copy);
313
form.
DoDragDrop
(data, DragDropEffects.Copy);
768
DragDropEffects dropEffect = ListDragSource.
DoDragDrop
(