2 instantiations of DropSourceBehavior
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
250DropSourceBehavior dsb = new(dragControls, _containerControl.Parent, controlOrigin);
System\Windows\Forms\Design\ControlDesigner.cs (1)
1438DropSourceBehavior dsb = new(dragControls, Control.Parent, _mouseDragLast);
23 references to DropSourceBehavior
System.Windows.Forms.Design (23)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
175if (e.Data is DropSourceBehavior.BehaviorDataObject)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (2)
185internal DragDropEffects DoDragDrop(DropSourceBehavior dropSourceBehavior) 194ICollection dragComponents = ((DropSourceBehavior.BehaviorDataObject)dropSourceBehavior.DataObject).DragComponents;
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (2)
166/// we'll create a <see cref="DropSourceBehavior"/> object and start out drag operation! 250DropSourceBehavior dsb = new(dragControls, _containerControl.Parent, controlOrigin);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.BehaviorDataObject.cs (2)
16private readonly DropSourceBehavior _sourceBehavior; 18public BehaviorDataObject(List<IComponent> dragComponents, Control source, DropSourceBehavior sourceBehavior) : base()
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (3)
26private static bool DragComponentContainsToolStrip(DropSourceBehavior.BehaviorDataObject? data) 224if (e.Data is DropSourceBehavior.BehaviorDataObject data) 310=> DragComponentContainsToolStrip(data as DropSourceBehavior.BehaviorDataObject)
System\Windows\Forms\Design\ControlDesigner.cs (1)
1438DropSourceBehavior dsb = new(dragControls, Control.Parent, _mouseDragLast);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
758if (de.Data is DropSourceBehavior.BehaviorDataObject data)
System\Windows\Forms\Design\ParentControlDesigner.cs (8)
1370DropSourceBehavior.BehaviorDataObject data = de.Data as DropSourceBehavior.BehaviorDataObject; 1388DropSourceBehavior.BehaviorDataObject data = de.Data as DropSourceBehavior.BehaviorDataObject; 1453DropSourceBehavior.BehaviorDataObject behDataObject = null; 1454DropSourceBehavior.BehaviorDataObject data = de.Data as DropSourceBehavior.BehaviorDataObject; 1657if (de.Data is DropSourceBehavior.BehaviorDataObject data)
System\Windows\Forms\Design\TabControlDesigner.cs (2)
503DropSourceBehavior.BehaviorDataObject data = de.Data as DropSourceBehavior.BehaviorDataObject;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
953if (de.Data is DropSourceBehavior.BehaviorDataObject data)