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