16 references to Component
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\ComponentTray.cs (16)
923if (control.Component == component) 928return ((TrayControl)_controls[targetIndex]).Component; 940return ((TrayControl)_controls[targetIndex]).Component; 1024if (control is TrayControl tc && tc.Component == comp) 1384list.Add(tc.Component); 1729if (!CanDisplayComponent(c.Component)) 1755Debug.Assert(c.Visible, $"TrayControl for {c.Component} should not be positioned"); 1811Debug.Assert(Visible == c.Visible, $"TrayControl for {((TrayControl)c).Component} should not be positioned"); 1820Debug.Assert(c.Visible, $"TrayControl for {c.Component} should not be positioned"); 1838IComponent comp = c.Component; 1873IComponent comp = c.Component; 2123sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2170sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2213sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2578get => ((TrayControl)Owner).Component; 2761if (g is DesignerActionGlyph desGlyph && ((DesignerActionBehavior)(desGlyph.Behavior)).RelatedComponent.Equals(trayControl.Component))