82 references to CollectionChangeEventArgs
System.Data (23)
fx\src\data\System\Data\BaseCollection.cs (1)
20internal static CollectionChangeEventArgs RefreshEventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null);
fx\src\data\System\Data\ConstraintCollection.cs (2)
137OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, constraint)); 630OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, constraint));
fx\src\data\System\Data\DataColumn.cs (2)
412table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 420table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
fx\src\data\System\Data\DataColumnCollection.cs (6)
149OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Add, column)); 159OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Add, column)); 172OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, column)); 709OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, column)); 790OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, column)); 793OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, column));
fx\src\data\System\Data\DataRelation.cs (4)
390((DataRelationCollection.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 391((DataRelationCollection.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 395((DataRelationCollection.DataTableRelationCollection)(ParentTable.ChildRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 396((DataRelationCollection.DataTableRelationCollection)(ChildTable.ParentRelations)).OnRelationPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this));
fx\src\data\System\Data\DataRelationCollection.cs (4)
72OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Add, relation)); 74OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, relation)); 412OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, relation)); 414OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, relation));
fx\src\data\System\Data\DataTableCollection.cs (4)
149OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Add, table)); 157OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, table)); 692OnCollectionChanging(new CollectionChangeEventArgs(CollectionChangeAction.Remove, table)); 694OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, table));
System.Data.Entity (5)
System\Data\Objects\DataClasses\EntityCollection.cs (2)
170_onAssociationChangedforObjectView(this, (new CollectionChangeEventArgs(collectionChangeAction, entity))); 174_onAssociationChanged(this, (new CollectionChangeEventArgs(collectionChangeAction, entity)));
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
2098_onAssociationChanged(this, (new CollectionChangeEventArgs(collectionChangeAction, entity)));
System\Data\Objects\ObjectStateManager.cs (2)
256onObjectStateManagerChangedDelegate(this, new CollectionChangeEventArgs(action, entity)); 265onEntityDeletedDelegate(this, new CollectionChangeEventArgs(action, entity));
System.Windows.Forms (54)
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (8)
38OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, data[index])); 40OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, value)); 110OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, value)); 123OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 133OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 171OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, value)); 203OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, value)); 213OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, value));
winforms\Managed\System\WinForms\BindingContext.cs (3)
151OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataSource)); 195OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 297OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataSource));
winforms\Managed\System\WinForms\BindingsCollection.cs (3)
68CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Add, binding); 125CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null); 170CollectionChangeEventArgs ccevent = new CollectionChangeEventArgs(CollectionChangeAction.Remove, binding);
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (5)
265OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 269OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, (DataGridColumnStyle) sender)); 295OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, column)); 353OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 562OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, toRemove));
winforms\Managed\System\WinForms\DataGridTableCollection.cs (5)
201OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, table)); 207OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 223OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 250OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 342OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, element));
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (6)
290OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewCell)); 341OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 359OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null)); 399OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewCell)); 412OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewCell)); 484OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewCell));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (5)
299OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewColumn), false /*changeIsInsertion*/, new Point(-1, -1)); 391OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), false /*changeIsInsertion*/, new Point(-1, -1)); 437OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), false /*changeIsInsertion*/, new Point(-1, -1)); 999OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewColumn), true /*changeIsInsertion*/, newCurrentCell); 1196OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewColumn), false /*changeIsInsertion*/, newCurrentCell);
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (19)
413OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewRow), index, 1); 619OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewRow), index, 1); 674OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, rowTemplate), index, 1); 684OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(index)), index, 1); 756OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), indexStart, count); 797OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), indexStart, count); 810OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(index)), index, 1); 926OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), indexStart, dataGridViewRows.Length); 974OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), 0, rowCount, true, false, recreateNewRow, new Point(-1, -1)); 1684OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, dataGridViewRow), rowIndex, 1, false, true, false, newCurrentCell); 1760OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), indexDestination, count, false, true, false, newCurrentCell); 1776OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(indexDestination)), indexDestination, count, false, true, false, newCurrentCell); 1804OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), indexDestination, count, false, true, false, newCurrentCell); 1816OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), indexDestination, count, false, true, false, newCurrentCell); 1829OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Add, SharedRow(indexDestination)), indexDestination, 1, false, true, false, newCurrentCell); 1959OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null), rowIndex, dataGridViewRows.Length, false, true, false, newCurrentCell); 2054e = new CollectionChangeEventArgs(e.Action, dataGridViewRow); 2078e = new CollectionChangeEventArgs(e.Action, dataGridViewRow); 2353OnCollectionChanged(new CollectionChangeEventArgs(CollectionChangeAction.Remove, dataGridViewRow), index, 1, true, false, false, newCurrentCell);