38 instantiations of ListChangedEventArgs
System.ComponentModel.TypeConverter (2)
System\ComponentModel\BindingList.cs (2)
170OnListChanged(new ListChangedEventArgs(type, index)); 526ListChangedEventArgs args = new ListChangedEventArgs(ListChangedType.ItemChanged, pos, pd);
System.Data.Common (23)
System\Data\DataView.cs (15)
56internal static readonly ListChangedEventArgs s_resetEventArgs = new ListChangedEventArgs(ListChangedType.Reset, -1); 507OnListChanged(new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, new DataTablePropertyDescriptor(_table))); 555OnListChanged(new ListChangedEventArgs(ListChangedType.ItemAdded, IndexOf(drv))); 815OnListChanged(new ListChangedEventArgs(ListChangedType.ItemDeleted, Count)); 1308_addNewMoved = new ListChangedEventArgs(ListChangedType.ItemMoved, index, Count - 1); 1406ListChangedEventArgs newEventArg = new ListChangedEventArgs(e.ListChangedType, e.NewIndex, new DataColumnPropertyDescriptor(col)); 1636e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element!)) : 1637e.Action == CollectionChangeAction.Refresh ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) : 1638e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element!)) : 1647e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element!)) : 1648e.Action == CollectionChangeAction.Refresh ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) : 1649e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element!)) : 1658e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.Element!)) : 1659e.Action == CollectionChangeAction.Refresh ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) : 1660e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.Element!)) :
System\Data\DataViewManager.cs (6)
334e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataTablePropertyDescriptor((System.Data.DataTable)e.Element!)) : 335e.Action == CollectionChangeAction.Refresh ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) : 336e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataTablePropertyDescriptor((System.Data.DataTable)e.Element!)) : 345e.Action == CollectionChangeAction.Add ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element!)) : 346e.Action == CollectionChangeAction.Refresh ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, NullProp) : 347e.Action == CollectionChangeAction.Remove ? new ListChangedEventArgs(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element!)) :
System\Data\Selection.cs (2)
844OnListChanged(new ListChangedEventArgs(changedType, newIndex, oldIndex)); 852OnListChanged(new ListChangedEventArgs(changedType, index));
System.Windows.Forms (13)
System\Windows\Forms\DataBinding\BindingSource.cs (8)
766OnListChanged(new ListChangedEventArgs(ListChangedType.ItemChanged, index)); 787OnListChanged(new ListChangedEventArgs(listChangedType, newIndex)); 1039OnListChanged(new ListChangedEventArgs(ListChangedType.PropertyDescriptorChanged, null)); 1042OnListChanged(new ListChangedEventArgs(ListChangedType.Reset, -1)); 1047OnListChanged(new ListChangedEventArgs(ListChangedType.ItemChanged, Position)); 1052OnListChanged(new ListChangedEventArgs(ListChangedType.ItemChanged, itemIndex)); 1583OnListChanged(new ListChangedEventArgs(ListChangedType.ItemAdded, saveAddNew)); 1665OnListChanged(new ListChangedEventArgs(ListChangedType.Reset, -1));
System\Windows\Forms\DataBinding\CurrencyManager.cs (5)
181OnListChanged(new ListChangedEventArgs(ListChangedType.Reset, -1, -1)); 316OnListChanged(new ListChangedEventArgs(ListChangedType.ItemChanged, Position)); 627dbe = new ListChangedEventArgs(ListChangedType.ItemAdded, e.NewIndex, e.OldIndex); 631dbe = new ListChangedEventArgs(ListChangedType.ItemDeleted, e.OldIndex, e.NewIndex); 952List_ListChanged(_list, new ListChangedEventArgs(ListChangedType.Reset, -1));
27 references to ListChangedEventArgs
netstandard (1)
netstandard.cs (1)
369[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ListChangedEventArgs))]
PresentationFramework (1)
System\Windows\Data\BindingListCollectionView.cs (1)
1903private void OnListChanged(object sender, ListChangedEventArgs args)
System (1)
src\libraries\shims\System\ref\System.cs (1)
355[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.ListChangedEventArgs))]
System.ComponentModel.TypeConverter (3)
System\ComponentModel\BindingList.cs (2)
150protected virtual void OnListChanged(ListChangedEventArgs e) => _onListChanged?.Invoke(this, e); 526ListChangedEventArgs args = new ListChangedEventArgs(ListChangedType.ItemChanged, pos, pd);
System\ComponentModel\ListChangedEventHandler.cs (1)
6public delegate void ListChangedEventHandler(object? sender, ListChangedEventArgs e);
System.Data.Common (11)
System\Data\DataView.cs (7)
53private ListChangedEventArgs? _addNewMoved; 56internal static readonly ListChangedEventArgs s_resetEventArgs = new ListChangedEventArgs(ListChangedType.Reset, -1); 1244protected virtual void IndexListChanged(object sender, ListChangedEventArgs e) 1262internal void IndexListChangedInternal(ListChangedEventArgs e) 1276ListChangedEventArgs f = _addNewMoved; 1359protected virtual void OnListChanged(ListChangedEventArgs e) 1406ListChangedEventArgs newEventArg = new ListChangedEventArgs(e.ListChangedType, e.NewIndex, new DataColumnPropertyDescriptor(col));
System\Data\DataViewListener.cs (1)
81internal void IndexListChanged(ListChangedEventArgs e)
System\Data\DataViewManager.cs (1)
317protected virtual void OnListChanged(ListChangedEventArgs e)
System\Data\Selection.cs (2)
856private void OnListChanged(ListChangedEventArgs e) 862delegate (DataViewListener listener, ListChangedEventArgs args, bool arg2, bool arg3)
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (3)
332private void CheckRowCount(ListChangedEventArgs e) 346private void currencyManager_ListChanged(object? sender, ListChangedEventArgs e) 369private void ProcessListChanged(ListChangedEventArgs e)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
783private void OnBindingSourceListChanged(object? sender, ListChangedEventArgs e)
System\Windows\Forms\DataBinding\BindingSource.cs (2)
728private void InnerList_ListChanged(object? sender, ListChangedEventArgs e) 840protected virtual void OnListChanged(ListChangedEventArgs e)
System\Windows\Forms\DataBinding\CurrencyManager.cs (4)
618private void List_ListChanged(object? sender, ListChangedEventArgs e) 624ListChangedEventArgs dbe; 911private void OnListChanged(ListChangedEventArgs e) 1037private void UpdateLastGoodKnownRow(ListChangedEventArgs e)