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