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