2 implementations of OnComponentChanged
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
848void IComponentChangeService.OnComponentChanged(object component, MemberDescriptor? member, object? oldValue, object? newValue)
System.Windows.Forms.Tests (1)
System\Windows\Forms\PropertyGridTests.cs (1)
4290public void OnComponentChanged(object component, MemberDescriptor member, object oldValue, object newValue)
51 references to OnComponentChanged
System.ComponentModel.TypeConverter (6)
System\ComponentModel\ReflectEventDescriptor.cs (2)
213changeService?.OnComponentChanged(component, this, null, value); 489changeService?.OnComponentChanged(component, this, null, value);
System\ComponentModel\ReflectPropertyDescriptor.cs (4)
616changeService.OnComponentChanged(component, notifyDesc, oldValue, newValue); 661changeService?.OnComponentChanged(component!, notifyDesc, oldValue, value); 1064changeService.OnComponentChanged(component, this, oldValue, newValue); 1149changeService?.OnComponentChanged(component, this, oldValue, value);
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
520changeService.OnComponentChanged(_host, prop, oldValue: null, prop?.GetValue(_host));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
674ComponentChangeService?.OnComponentChanged(owner!, PropertyDescriptor, oldValue: null, value);
System.Windows.Forms.Design (31)
System\ComponentModel\Design\ComponentDesigner.cs (1)
726=> GetService<IComponentChangeService>()?.OnComponentChanged(Component, member, oldValue, newValue);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
254changeService.OnComponentChanged(component!, this, oldName, name);
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
190componentChangeService.OnComponentChanged(oldParent, controlsProp, oldValue: null, newValue: null); 194componentChangeService?.OnComponentChanged(newParent, controlsProp, oldValue: null, newValue: null);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
502componentChangeSvcTarget.OnComponentChanged(dragTarget, targetProp, dragTarget.Controls, dragTarget.Controls); 505componentChangeSvcSource.OnComponentChanged(dragSource, sourceProp, dragSource.Controls, dragSource.Controls);
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
59cs.OnComponentChanged(_table, _changedProp, null, null);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (2)
179changeService.OnComponentChanged(oldParent, controlsProp, oldValue: null, newValue: null); 182changeService.OnComponentChanged(newParent, controlsProp, oldValue: null, newValue: null);
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (2)
80componentChangeService.OnComponentChanged(component: navigator, member: memberDescriptor, oldValue: null, newValue: null); 89componentChangeService.OnComponentChanged(component: navigator, member: propertyDescriptor, oldValue: null, newValue: null);
System\Windows\Forms\Design\BindingSourceDesigner.cs (1)
74componentChangeService?.OnComponentChanged(bindingSource, propertyDescriptor, previousDataMember, string.Empty);
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
553changeService.OnComponentChanged(_liveDataGridView, prop, null, null);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
208changeService?.OnComponentChanged(_liveDataGridView, prop, null, null); 271changeService?.OnComponentChanged(_liveDataGridView, prop, null, null);
System\Windows\Forms\Design\DataGridViewDesigner.cs (10)
54componentChangeService?.OnComponentChanged(dataGridView.Columns[i], prop, null, null); 319componentChangeService?.OnComponentChanged(dataGridView, propertyDescriptor, previousDataMember, string.Empty); 514changeService?.OnComponentChanged(dataGridView, columnsProp, oldValue: null, newValue: null); 608changeService?.OnComponentChanged(dataGridView, columnsProp, oldValue: null, newValue: null); 695changeService?.OnComponentChanged(dataGridView, columnsProp, null, null); 851changeService?.OnComponentChanged(_owner.Component, dataSourceProp, null, null); 942changeService?.OnComponentChanged(dataGridView, prop, null, null); 985changeService?.OnComponentChanged(dataGridView, prop, null, null); 1028changeService?.OnComponentChanged(dataGridView, prop, null, null); 1071changeService?.OnComponentChanged(dataGridView, prop, null, null);
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
588_changeService?.OnComponentChanged(Control, controlsProp, Control.Controls, Control.Controls); 2413_changeService?.OnComponentChanged(cParent, controlsProp, cParent.Controls, cParent.Controls); 2425_changeService?.OnComponentChanged(parent, controlsProp, parent.Controls, parent.Controls);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1463_compSvc.OnComponentChanged(Component, controlsProp, null, null); 2141_compSvc.OnComponentChanged(Table, prop, null, null);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1519ComponentChangeService.OnComponentChanged(parentPanel, controlsProp, parentPanel.Controls, parentPanel.Controls);
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\ComponentDesignerTests.cs (2)
2495.Setup(s => s.OnComponentChanged(component, member, oldValue, newValue)) 2504mockComponentChangeService.Verify(s => s.OnComponentChanged(component, member, oldValue, newValue), Times.Once());
System\ComponentModel\Design\DesignerHostTests.cs (6)
3019changeService.OnComponentChanged(component, member, oldValue, newValue); 3023changeService.OnComponentChanged(component, member, oldValue, newValue); 3028changeService.OnComponentChanged(component, member, oldValue, newValue); 3050changeService.OnComponentChanged(component, member, oldValue, newValue); 3054changeService.OnComponentChanged(component, member, oldValue, newValue); 3059changeService.OnComponentChanged(component, member, oldValue, newValue);
System\Windows\Forms\Design\FormatStringEditorTests.cs (3)
89cs => cs.OnComponentChanged(_cellStyle, TypeDescriptor.GetProperties(_cellStyle)["Format"], null, null), 93cs => cs.OnComponentChanged(_cellStyle, TypeDescriptor.GetProperties(_cellStyle)["NullValue"], null, null), 97cs => cs.OnComponentChanged(_cellStyle, TypeDescriptor.GetProperties(_cellStyle)["FormatProvider"], null, null),
System.Windows.Forms.Primitives (1)
System\ComponentModel\Design\ComponentChangeServiceExtensions.cs (1)
15changeService.OnComponentChanged(component, member, oldValue, newValue);