1 write to ListDragTarget
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
658
ListDragTarget
= new ListBox();
20 references to ListDragTarget
System.Windows.Forms.UI.IntegrationTests (20)
DragDropTests.cs (20)
42
var targetMousePosition = ToVirtualPoint(form.
ListDragTarget
.PointToScreen(new Point(20, 20)));
54
Assert.Single(form.
ListDragTarget
.Items);
356
form.
ListDragTarget
.DragEnter += (s, e) =>
364
form.
ListDragTarget
.DragOver += (s, e) =>
371
form.
ListDragTarget
.DragDrop += (s, e) =>
380
var endRect = form.
ListDragTarget
.DisplayRectangle;
381
var endCoordinates = form.
ListDragTarget
.PointToScreen(GetCenter(endRect));
417
Assert.Equal(2, form.
ListDragTarget
.Items.Count);
675
ListDragTarget
.AllowDrop = true;
676
ListDragTarget
.Location = new Point(154, 17);
677
ListDragTarget
.Size = new Size(120, 225);
678
ListDragTarget
.DragOver += ListDragTarget_DragOver;
679
ListDragTarget
.DragDrop += ListDragTarget_DragDrop;
680
ListDragTarget
.DragEnter += ListDragTarget_DragEnter;
681
ListDragTarget
.DragLeave += ListDragTarget_DragLeave;
698
ListDragTarget
,
867
ListDragTarget
.IndexFromPoint(
ListDragTarget
.PointToClient(new Point(e.X, e.Y)));
894
ListDragTarget
.Items.Insert(_indexOfItemUnderMouseToDrop, item);
896
ListDragTarget
.Items.Add(item);