45 instantiations of ListChangedEventArgs
System (2)
compmod\system\componentmodel\BindingList.cs (2)
200
OnListChanged(new
ListChangedEventArgs
(type, index));
607
ListChangedEventArgs args = new
ListChangedEventArgs
(ListChangedType.ItemChanged, pos, pd);
System.Data (23)
fx\src\data\System\Data\DataView.cs (15)
62
internal static ListChangedEventArgs ResetEventArgs = new
ListChangedEventArgs
(ListChangedType.Reset, -1);
569
OnListChanged(new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorChanged, new DataTablePropertyDescriptor(table)));
622
OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemAdded, IndexOf(drv)));
862
OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemDeleted, Count));
1342
addNewMoved = new
ListChangedEventArgs
(ListChangedType.ItemMoved, index, Count - 1);
1429
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)) :
1646
e.Action == CollectionChangeAction.Add ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) :
1647
e.Action == CollectionChangeAction.Refresh ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorChanged, NullProp):
1648
e.Action == CollectionChangeAction.Remove ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) :
1656
e.Action == CollectionChangeAction.Add ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorAdded, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.Element)) :
1657
e.Action == CollectionChangeAction.Refresh ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorChanged, NullProp):
1658
e.Action == CollectionChangeAction.Remove ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorDeleted, new DataColumnPropertyDescriptor((System.Data.DataColumn)e.Element)) :
fx\src\data\System\Data\DataViewManager.cs (6)
366
e.Action == CollectionChangeAction.Add ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorAdded, new DataTablePropertyDescriptor((System.Data.DataTable)e.Element)) :
367
e.Action == CollectionChangeAction.Refresh ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorChanged, NullProp) :
368
e.Action == CollectionChangeAction.Remove ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorDeleted, new DataTablePropertyDescriptor((System.Data.DataTable)e.Element)) :
376
e.Action == CollectionChangeAction.Add ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorAdded, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) :
377
e.Action == CollectionChangeAction.Refresh ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorChanged, NullProp):
378
e.Action == CollectionChangeAction.Remove ? new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorDeleted, new DataRelationPropertyDescriptor((System.Data.DataRelation)e.Element)) :
fx\src\data\System\Data\Selection.cs (2)
799
OnListChanged(new
ListChangedEventArgs
(changedType, newIndex, oldIndex));
805
OnListChanged(new
ListChangedEventArgs
(changedType, index));
System.Data.Entity (5)
System\Data\Objects\ObjectView.cs (1)
479
ListChangedEventArgs changeArgs = new
ListChangedEventArgs
(listchangedType, newIndex, oldIndex);
System\Data\Objects\ObjectViewEntityCollectionData.cs (3)
202
changeArgs = new
ListChangedEventArgs
(ListChangedType.ItemDeleted, oldIndex /* newIndex*/, -1 /* oldIndex*/);
221
changeArgs = new
ListChangedEventArgs
(ListChangedType.ItemAdded, _bindingList.Count - 1 /* newIndex*/, -1 /* oldIndex*/);
241
changeArgs = new
ListChangedEventArgs
(ListChangedType.Reset, -1 /*newIndex*/, -1/*oldIndex*/);
System\Data\Objects\ObjectViewQueryResultData.cs (1)
241
changeArgs = new
ListChangedEventArgs
(ListChangedType.ItemDeleted, itemIndex /* newIndex*/, -1 /* oldIndex*/);
System.Data.Linq (2)
SortableBindingList.cs (1)
53
OnListChanged(new
ListChangedEventArgs
(ListChangedType.Reset, -1));
Types.cs (1)
630
onListChanged(this, new
ListChangedEventArgs
(type, index));
System.Windows.Forms (13)
winforms\Managed\System\WinForms\BindingSource.cs (8)
912
OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemChanged, index));
940
OnListChanged(new
ListChangedEventArgs
(listChangedType, newIndex));
1188
OnListChanged(new
ListChangedEventArgs
(ListChangedType.PropertyDescriptorChanged, null));
1191
OnListChanged(new
ListChangedEventArgs
(ListChangedType.Reset, -1));
1196
this.OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemChanged, this.Position));
1201
this.OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemChanged, itemIndex));
1786
OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemAdded, saveAddNew));
1875
OnListChanged(new
ListChangedEventArgs
(ListChangedType.Reset, -1));
winforms\Managed\System\WinForms\CurrencyManager.cs (5)
207
OnListChanged(new
ListChangedEventArgs
(ListChangedType.Reset, -1, -1));
336
OnListChanged(new
ListChangedEventArgs
(ListChangedType.ItemChanged, this.Position));
608
dbe = new
ListChangedEventArgs
(ListChangedType.ItemAdded, e.NewIndex, e.OldIndex);
610
dbe = new
ListChangedEventArgs
(ListChangedType.ItemDeleted, e.OldIndex, e.NewIndex);
900
List_ListChanged(list, new System.ComponentModel.
ListChangedEventArgs
(System.ComponentModel.ListChangedType.Reset, -1));
32 references to ListChangedEventArgs
PresentationFramework (1)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
1910
private void OnListChanged(object sender,
ListChangedEventArgs
args)
System (3)
compmod\system\componentmodel\BindingList.cs (2)
164
protected virtual void OnListChanged(
ListChangedEventArgs
e) {
607
ListChangedEventArgs
args = new ListChangedEventArgs(ListChangedType.ItemChanged, pos, pd);
compmod\system\componentmodel\ListChangedEventHandler.cs (1)
14
public delegate void ListChangedEventHandler(object sender,
ListChangedEventArgs
e);
System.Data (11)
fx\src\data\System\Data\DataView.cs (7)
58
private
ListChangedEventArgs
addNewMoved;
62
internal static
ListChangedEventArgs
ResetEventArgs = new ListChangedEventArgs(ListChangedType.Reset, -1);
1293
protected virtual void IndexListChanged(object sender,
ListChangedEventArgs
e) {
1305
internal void IndexListChangedInternal(
ListChangedEventArgs
e) {
1315
ListChangedEventArgs
f = addNewMoved;
1389
protected virtual void OnListChanged(
ListChangedEventArgs
e) {
1429
ListChangedEventArgs
newEventArg = new ListChangedEventArgs(e.ListChangedType, e.NewIndex, new DataColumnPropertyDescriptor(col));
fx\src\data\System\Data\DataViewListener.cs (1)
73
internal void IndexListChanged(
ListChangedEventArgs
e) {
fx\src\data\System\Data\DataViewManager.cs (1)
347
protected virtual void OnListChanged(
ListChangedEventArgs
e) {
fx\src\data\System\Data\Selection.cs (2)
809
private void OnListChanged(
ListChangedEventArgs
e) {
814
delegate(DataViewListener listener,
ListChangedEventArgs
args, bool arg2, bool arg3)
System.Data.Entity (8)
System\Data\Objects\IObjectViewData.cs (1)
174
ListChangedEventArgs
OnCollectionChanged(object sender, CollectionChangeEventArgs e, ObjectViewListener listener);
System\Data\Objects\ObjectView.cs (3)
479
ListChangedEventArgs
changeArgs = new ListChangedEventArgs(listchangedType, newIndex, oldIndex);
483
private void OnListChanged(
ListChangedEventArgs
changeArgs)
522
ListChangedEventArgs
changeArgs = _viewData.OnCollectionChanged(sender, e, _listener);
System\Data\Objects\ObjectViewEntityCollectionData.cs (2)
182
public
ListChangedEventArgs
OnCollectionChanged(object sender, CollectionChangeEventArgs e, ObjectViewListener listener)
184
ListChangedEventArgs
changeArgs = null;
System\Data\Objects\ObjectViewQueryResultData.cs (2)
218
public
ListChangedEventArgs
OnCollectionChanged(object sender, CollectionChangeEventArgs e, ObjectViewListener listener)
220
ListChangedEventArgs
changeArgs = null;
System.Windows.Forms (9)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
730
private void OnBindingSourceListChanged(object sender,
ListChangedEventArgs
e) {
winforms\Managed\System\WinForms\BindingSource.cs (2)
882
private void InnerList_ListChanged(object sender,
ListChangedEventArgs
e) {
1000
protected virtual void OnListChanged(
ListChangedEventArgs
e) {
winforms\Managed\System\WinForms\CurrencyManager.cs (4)
594
private void List_ListChanged(Object sender, System.ComponentModel.
ListChangedEventArgs
e) {
605
ListChangedEventArgs
dbe;
857
private void OnListChanged(
ListChangedEventArgs
e) {
981
private void UpdateLastGoodKnownRow(System.ComponentModel.
ListChangedEventArgs
e) {
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (2)
450
private void currencyManager_ListChanged(object sender,
ListChangedEventArgs
e)
473
private void ProcessListChanged(
ListChangedEventArgs
e)