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