3 instantiations of ContainerSelectorBehavior
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ControlDesigner.cs (1)
669
=> _moveBehavior ??= new
ContainerSelectorBehavior
(Control, Component.Site);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1052
ContainerSelectorBehavior behavior =
new
((Control)Component, Component.Site, true);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1377
ContainerSelectorBehavior behavior =
new
(ToolStrip, Component.Site, true);
7 references to ContainerSelectorBehavior
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (2)
121
if (!(selNew.RelatedBehavior is
ContainerSelectorBehavior
behNew) || !(selOld.RelatedBehavior is
ContainerSelectorBehavior
behOld))
System\Windows\Forms\Design\Behavior\ContainerSelectorGlyph.cs (2)
17
private readonly
ContainerSelectorBehavior
? _relatedBehavior;
22
internal ContainerSelectorGlyph(Rectangle containerBounds, int glyphSize, int glyphOffset,
ContainerSelectorBehavior
? behavior)
System\Windows\Forms\Design\ControlDesigner.cs (1)
36
private
ContainerSelectorBehavior
? _moveBehavior; // the behavior for non-resize glyphs - demand created
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1052
ContainerSelectorBehavior
behavior = new((Control)Component, Component.Site, true);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1377
ContainerSelectorBehavior
behavior = new(ToolStrip, Component.Site, true);