1 write to ListDragTarget
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
601
ListDragTarget
= new ListBox();
20 references to ListDragTarget
System.Windows.Forms.UI.IntegrationTests (20)
DragDropTests.cs (20)
40
var targetMousePosition = ToVirtualPoint(form.
ListDragTarget
.PointToScreen(new Point(20, 20)));
52
Assert.Single(form.
ListDragTarget
.Items);
354
form.
ListDragTarget
.DragEnter += (s, e) =>
362
form.
ListDragTarget
.DragOver += (s, e) =>
369
form.
ListDragTarget
.DragDrop += (s, e) =>
378
var endRect = form.
ListDragTarget
.DisplayRectangle;
379
var endCoordinates = form.
ListDragTarget
.PointToScreen(GetCenter(endRect));
415
Assert.Equal(2, form.
ListDragTarget
.Items.Count);
618
ListDragTarget
.AllowDrop = true;
619
ListDragTarget
.Location = new Point(154, 17);
620
ListDragTarget
.Size = new Size(120, 225);
621
ListDragTarget
.DragOver += ListDragTarget_DragOver;
622
ListDragTarget
.DragDrop += ListDragTarget_DragDrop;
623
ListDragTarget
.DragEnter += ListDragTarget_DragEnter;
624
ListDragTarget
.DragLeave += ListDragTarget_DragLeave;
641
ListDragTarget
,
810
ListDragTarget
.IndexFromPoint(
ListDragTarget
.PointToClient(new Point(e.X, e.Y)));
837
ListDragTarget
.Items.Insert(_indexOfItemUnderMouseToDrop, item);
839
ListDragTarget
.Items.Add(item);