1 write to Component
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\ComponentChangedEventArgs.cs (1)
36
Component
= component;
25 references to Component
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
2462
if (_selectedObjects[i] == e.
Component
)
System.Windows.Forms.Design (23)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
721
if (item == e.
Component
)
System\ComponentModel\Design\DesignerActionUI.cs (5)
238
if (ce.
Component
is null || ce.Member is null || !IsDesignerActionPanelVisible)
245
if (_lastPanelComponent is not null && !_lastPanelComponent.Equals(ce.
Component
))
251
if (_componentToGlyph.TryGetValue(ce.
Component
, out DesignerActionGlyph? glyph))
257
RecreatePanel(ce.
Component
as IComponent); // because 99% of the time the action is name "dock in parent container" and get replaced by "undock"
265
UpdateDAPLocation(ce.
Component
as IComponent, glyph);
System\ComponentModel\Design\DesignerEventService.cs (1)
101
if (ce.
Component
is not IComponent comp)
System\ComponentModel\Design\Serialization\ComponentCache.cs (4)
160
if (ce.
Component
is not null)
162
RemoveEntry(ce.
Component
);
163
if (ce.
Component
is not IComponent)
167
IComponent? owningComp = rs.GetComponent(ce.
Component
);
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (1)
135
return changing.Component == changed.
Component
&& changing.Member == changed.Member;
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
287
if (_selectionService.GetComponentSelected(ce.
Component
!))
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (2)
172
if (e.
Component
is not null && e.
Component
== navigator.CountItem && e.Member is not null && e.Member.Name == "Text")
System\Windows\Forms\Design\BindingSourceDesigner.cs (1)
45
if (_bindingUpdatedByUser && e.
Component
== Component &&
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
288
if (e.
Component
is ListBoxItem && _selectedColumns.Items.Contains(e.
Component
))
System\Windows\Forms\Design\DocumentDesigner.cs (1)
1137
Control ctrl = e.
Component
as Control;
System\Windows\Forms\Design\ListBoxDesigner.cs (1)
153
if (e.
Component
== Component
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1451
if (e.
Component
is not null)
1453
Control c = e.
Component
as Control;
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1010
if (e.
Component
is ToolStripItem changingItem)
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3010
Assert.Same(component, e.
Component
);