2 writes to ListChangedType
System.ComponentModel.TypeConverter (2)
System\ComponentModel\ListChangedEventArgs.cs (2)
23ListChangedType = listChangedType; 29ListChangedType = listChangedType;
29 references to ListChangedType
PresentationFramework (5)
System\Windows\Data\BindingListCollectionView.cs (5)
1905if (_ignoreInnerRefresh && (args.ListChangedType == ListChangedType.Reset)) 1913switch (args.ListChangedType) 1939throw new InvalidOperationException(SR.Format(SR.InconsistentBindingList, InternalList, args.ListChangedType)); 1951throw new InvalidOperationException(SR.Format(SR.InconsistentBindingList, InternalList, args.ListChangedType)); 2008throw new InvalidOperationException(SR.Format(SR.InconsistentBindingList, InternalList, args.ListChangedType));
System.Data.Common (8)
System\Data\DataView.cs (8)
1246if (ListChangedType.Reset != e.ListChangedType) 1256if (ListChangedType.Reset == e.ListChangedType) 1266if ((ListChangedType.ItemAdded == e.ListChangedType) && (null != _addNewMoved)) 1361DataCommonEventSource.Log.Trace("<ds.DataView.OnListChanged|INFO> {0}, ListChangedType={1}", ObjectID, e.ListChangedType); 1366switch (e.ListChangedType) 1376Debug.Assert(((ListChangedType.ItemChanged == e.ListChangedType) && ((e.NewIndex == e.OldIndex) || (-1 == e.OldIndex))) || 1377(ListChangedType.ItemMoved == e.ListChangedType && (e.NewIndex != e.OldIndex) && (0 <= e.OldIndex)), 1406ListChangedEventArgs newEventArg = new ListChangedEventArgs(e.ListChangedType, e.NewIndex, new DataColumnPropertyDescriptor(col));
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (9)
334if (e.ListChangedType != ListChangedType.Reset) 360_owner.OnDataBindingComplete(e.ListChangedType); 371if (e.ListChangedType is ListChangedType.PropertyDescriptorAdded 415if (e.ListChangedType == ListChangedType.ItemAdded) 449else if (e.ListChangedType == ListChangedType.ItemDeleted) 493if (e.ListChangedType == ListChangedType.ItemAdded 521if (e.ListChangedType == ListChangedType.ItemDeleted) 565switch (e.ListChangedType) 667MatchCurrencyManagerPosition(scrollIntoView: false, clearSelection: e.ListChangedType == ListChangedType.Reset);
System\Windows\Forms\DataBinding\CurrencyManager.cs (7)
625if (e.ListChangedType == ListChangedType.ItemMoved && e.OldIndex < 0) 629else if (e.ListChangedType == ListChangedType.ItemMoved && e.NewIndex < 0) 654if (dbe.ListChangedType == ListChangedType.Reset && e.NewIndex == -1) 660if (dbe.ListChangedType == ListChangedType.ItemDeleted) 667if (e.ListChangedType is ListChangedType.PropertyDescriptorAdded or 681switch (dbe.ListChangedType) 1039switch (e.ListChangedType)