28 references to ItemAdded
PresentationFramework (1)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
1922
case ListChangedType.
ItemAdded
:
System (2)
compmod\system\componentmodel\BindingList.cs (1)
232
FireListChanged(ListChangedType.
ItemAdded
, index);
compmod\system\componentmodel\ListChangedEventArgs.cs (1)
48
Debug.Assert(listChangedType != ListChangedType.
ItemAdded
, "this constructor is used only for changes in the list MetaData");
System.Data (9)
fx\src\data\System\Data\DataView.cs (4)
622
OnListChanged(new ListChangedEventArgs(ListChangedType.
ItemAdded
, IndexOf(drv)));
1308
if ((ListChangedType.
ItemAdded
== e.ListChangedType) && (null != addNewMoved)) {
1327
case ListChangedType.
ItemAdded
:
1418
case ListChangedType.
ItemAdded
:
fx\src\data\System\Data\Selection.cs (5)
763
MaintainDataView(ListChangedType.
ItemAdded
, record, !fireEvent);
767
OnListChanged(ListChangedType.
ItemAdded
, records.GetIndexByNode(nodeId));
855
OnListChanged(ListChangedType.
ItemAdded
, newIndex, oldIndex);
920
MaintainDataView(ListChangedType.
ItemAdded
, newRecord, false);
921
OnListChanged(ListChangedType.
ItemAdded
, GetIndex(newRecord)); // oldLocation would be -1
System.Data.Entity (3)
System\Data\Objects\ObjectView.cs (2)
184
OnListChanged(ListChangedType.
ItemAdded
, _addNewIndex /* newIndex*/, -1 /*oldIndex*/);
339
OnListChanged(ListChangedType.
ItemAdded
, index /*newIndex*/, -1/* oldIndex*/);
System\Data\Objects\ObjectViewEntityCollectionData.cs (1)
221
changeArgs = new ListChangedEventArgs(ListChangedType.
ItemAdded
, _bindingList.Count - 1 /* newIndex*/, -1 /* oldIndex*/);
System.Data.Linq (4)
Types.cs (4)
212
OnListChanged(ListChangedType.
ItemAdded
, index);
227
OnListChanged(ListChangedType.
ItemAdded
, entities.IndexOf(entity));
244
OnListChanged(ListChangedType.
ItemAdded
, entities.IndexOf(e));
329
OnListChanged(ListChangedType.
ItemAdded
, index);
System.Windows.Forms (9)
winforms\Managed\System\WinForms\BindingSource.cs (3)
1658
OnSimpleListChanged(ListChangedType.
ItemAdded
, ret);
1682
OnSimpleListChanged(ListChangedType.
ItemAdded
, index);
1786
OnListChanged(new ListChangedEventArgs(ListChangedType.
ItemAdded
, saveAddNew));
winforms\Managed\System\WinForms\CurrencyManager.cs (3)
608
dbe = new ListChangedEventArgs(ListChangedType.
ItemAdded
, e.NewIndex, e.OldIndex);
664
case System.ComponentModel.ListChangedType.
ItemAdded
:
990
case System.ComponentModel.ListChangedType.
ItemAdded
:
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (3)
517
if (e.ListChangedType == ListChangedType.
ItemAdded
)
589
if (e.ListChangedType == ListChangedType.
ItemAdded
&&
684
case ListChangedType.
ItemAdded
: