4 references to RelatedComponent
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
264if (g.RelatedComponent is Control control && (dragComps.Contains(g.RelatedComponent) || !control.AllowDrop))
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
286Control ctl = body.RelatedComponent as Control;
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
381if (g.RelatedComponent is not SplitterPanel)