42 references to Remove
System.Data (13)
fx\src\data\System\Data\ConstraintCollection.cs (1)
630OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, constraint));
fx\src\data\System\Data\DataColumnCollection.cs (2)
790OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, column)); 793OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, column));
fx\src\data\System\Data\DataRelationCollection.cs (2)
412OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, relation)); 414OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, relation));
fx\src\data\System\Data\DataTableCollection.cs (2)
692OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, table)); 694OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, table));
fx\src\data\System\Data\DataView.cs (3)
1638e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) : 1648e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) : 1658e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.Element)) :
fx\src\data\System\Data\DataViewManager.cs (2)
368e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataTablePropertyDescriptor((System.Data.DataTable)e.Element)) : 378e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) :
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
1989Debug.Assert( ! (args.Action == CollectionChangeAction.Add || args.Action == CollectionChangeAction.Remove) || rel.Nested == false );
System.Data.Entity (11)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
360OnAssociationChanged(CollectionChangeAction.Remove, wrappedEntity.Entity);
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
1473OnAssociationChanged(CollectionChangeAction.Remove, wrappedEntity.Entity); 2026relatedEnd.OnAssociationChanged(CollectionChangeAction.Remove, _wrappedOwner.Entity);
System\Data\Objects\EntityEntry.cs (1)
2901_cache.OnObjectStateManagerChanged(CollectionChangeAction.Remove, degradedEntity);
System\Data\Objects\ObjectStateManager.cs (5)
782pair.Key.OnAssociationChanged(CollectionChangeAction.Remove, wrappedEntity.Entity); 2728OnEntityDeleted(CollectionChangeAction.Remove, wrappedEntity.Entity); 2729OnObjectStateManagerChanged(CollectionChangeAction.Remove, wrappedEntity.Entity); 2748OnEntityDeleted(CollectionChangeAction.Remove, entry.Entity); 2749OnObjectStateManagerChanged(CollectionChangeAction.Remove, entry.Entity);
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
188case CollectionChangeAction.Remove:
System\Data\Objects\ObjectViewQueryResultData.cs (1)
235if (e.Action == CollectionChangeAction.Remove)
System.Windows.Forms (18)
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (3)
38OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, data[index])); 203OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, value)); 213OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, value));
winforms\Managed\System\WinForms\BindingContext.cs (1)
297OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataSource));
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (1)
423case CollectionChangeAction.Remove:
winforms\Managed\System\WinForms\BindingsCollection.cs (1)
170CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Remove, binding);
winforms\Managed\System\WinForms\DataGrid.cs (1)
3287} else if (ccea.Action == CollectionChangeAction.Remove) {
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
562OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, toRemove));
winforms\Managed\System\WinForms\DataGridTable.cs (1)
1678} else if (e.Action == CollectionChangeAction.Remove) {
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
342OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, element));
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (1)
484OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewCell));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (2)
1091else if (ccea.Action == CollectionChangeAction.Remove) 1196OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewColumn), false /*changeIsInsertion*/, newCurrentCell);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
17996case CollectionChangeAction.Remove:
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (4)
2042Debug.Assert(e.Action != CollectionChangeAction.Remove); 2146case CollectionChangeAction.Remove: 2242case CollectionChangeAction.Remove: 2353OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewRow), index, 1, true, false, false, newCurrentCell);