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