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