16 references to Component
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\ComponentTray.cs (16)
908if (control.Component == component) 913return ((TrayControl)_controls[targetIndex]).Component; 925return ((TrayControl)_controls[targetIndex]).Component; 1009if (control is TrayControl tc && tc.Component == comp) 1369list.Add(tc.Component); 1714if (!CanDisplayComponent(c.Component)) 1740Debug.Assert(c.Visible, $"TrayControl for {c.Component} should not be positioned"); 1796Debug.Assert(Visible == c.Visible, $"TrayControl for {((TrayControl)c).Component} should not be positioned"); 1805Debug.Assert(c.Visible, $"TrayControl for {c.Component} should not be positioned"); 1823IComponent comp = c.Component; 1858IComponent comp = c.Component; 2105sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2152sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2195sel?.SetSelectedComponents(new object[] { Component }, SelectionTypes.Primary); 2560get => ((TrayControl)Owner).Component; 2740if (g is DesignerActionGlyph desGlyph && ((DesignerActionBehavior)(desGlyph.Behavior)).RelatedComponent.Equals(trayControl.Component))