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