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