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