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