2 instantiations of DropSourceBehavior
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
250
DropSourceBehavior dsb =
new
(dragControls, _containerControl.Parent, controlOrigin);
System\Windows\Forms\Design\ControlDesigner.cs (1)
1438
DropSourceBehavior dsb =
new
(dragControls, Control.Parent, _mouseDragLast);
23 references to DropSourceBehavior
System.Windows.Forms.Design (23)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (1)
175
if (e.Data is
DropSourceBehavior
.BehaviorDataObject)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (2)
185
internal DragDropEffects DoDragDrop(
DropSourceBehavior
dropSourceBehavior)
194
ICollection 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!
250
DropSourceBehavior
dsb = new(dragControls, _containerControl.Parent, controlOrigin);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.BehaviorDataObject.cs (2)
16
private readonly
DropSourceBehavior
_sourceBehavior;
18
public BehaviorDataObject(List<IComponent> dragComponents, Control source,
DropSourceBehavior
sourceBehavior) : base()
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (3)
26
private static bool DragComponentContainsToolStrip(
DropSourceBehavior
.BehaviorDataObject? data)
224
if (e.Data is
DropSourceBehavior
.BehaviorDataObject data)
310
=> DragComponentContainsToolStrip(data as
DropSourceBehavior
.BehaviorDataObject)
System\Windows\Forms\Design\ControlDesigner.cs (1)
1438
DropSourceBehavior
dsb = new(dragControls, Control.Parent, _mouseDragLast);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
758
if (de.Data is
DropSourceBehavior
.BehaviorDataObject data)
System\Windows\Forms\Design\ParentControlDesigner.cs (8)
1370
DropSourceBehavior
.BehaviorDataObject data = de.Data as
DropSourceBehavior
.BehaviorDataObject;
1388
DropSourceBehavior
.BehaviorDataObject data = de.Data as
DropSourceBehavior
.BehaviorDataObject;
1453
DropSourceBehavior
.BehaviorDataObject behDataObject = null;
1454
DropSourceBehavior
.BehaviorDataObject data = de.Data as
DropSourceBehavior
.BehaviorDataObject;
1657
if (de.Data is
DropSourceBehavior
.BehaviorDataObject data)
System\Windows\Forms\Design\TabControlDesigner.cs (2)
503
DropSourceBehavior
.BehaviorDataObject data = de.Data as
DropSourceBehavior
.BehaviorDataObject;
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
953
if (de.Data is
DropSourceBehavior
.BehaviorDataObject data)