32 references to ListChangedType
PresentationFramework (5)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (5)
1912
if (_ignoreInnerRefresh && (args.
ListChangedType
== ListChangedType.Reset))
1920
switch (args.
ListChangedType
)
1946
throw new InvalidOperationException(SR.Get(SRID.InconsistentBindingList, InternalList, args.
ListChangedType
));
1958
throw new InvalidOperationException(SR.Get(SRID.InconsistentBindingList, InternalList, args.
ListChangedType
));
2015
throw new InvalidOperationException(SR.Get(SRID.InconsistentBindingList, InternalList, args.
ListChangedType
));
System.Data (8)
fx\src\data\System\Data\DataView.cs (8)
1294
if (ListChangedType.Reset != e.
ListChangedType
) {
1300
if (ListChangedType.Reset == e.
ListChangedType
) {
1308
if ((ListChangedType.ItemAdded == e.
ListChangedType
) && (null != addNewMoved)) {
1390
Bid.Trace("<ds.DataView.OnListChanged|INFO> %d#, ListChangedType=%d{ListChangedType}\n", ObjectID, (int)e.
ListChangedType
);
1394
switch (e.
ListChangedType
) {
1403
Debug.Assert(((ListChangedType.ItemChanged == e.
ListChangedType
) && ((e.NewIndex == e.OldIndex) || (-1 == e.OldIndex))) ||
1404
(ListChangedType.ItemMoved == e.
ListChangedType
&& (e.NewIndex != e.OldIndex) && (0 <= e.OldIndex)),
1429
ListChangedEventArgs newEventArg = new ListChangedEventArgs(e.
ListChangedType
, e.NewIndex, new DataColumnPropertyDescriptor(col));
System.Windows.Forms (19)
winforms\Managed\System\WinForms\CurrencyManager.cs (9)
607
if (e.
ListChangedType
== ListChangedType.ItemMoved && e.OldIndex < 0) {
609
} else if (e.
ListChangedType
== ListChangedType.ItemMoved && e.NewIndex < 0) {
629
if (dbe.
ListChangedType
== System.ComponentModel.ListChangedType.Reset && e.NewIndex == -1) {
634
if (dbe.
ListChangedType
== System.ComponentModel.ListChangedType.ItemDeleted) {
640
if (e.
ListChangedType
== System.ComponentModel.ListChangedType.PropertyDescriptorAdded ||
641
e.
ListChangedType
== System.ComponentModel.ListChangedType.PropertyDescriptorDeleted ||
642
e.
ListChangedType
== System.ComponentModel.ListChangedType.PropertyDescriptorChanged)
654
switch (dbe.
ListChangedType
) {
982
switch (e.
ListChangedType
) {
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (10)
464
this.owner.OnDataBindingComplete(e.
ListChangedType
);
475
if (e.
ListChangedType
== System.ComponentModel.ListChangedType.PropertyDescriptorAdded ||
476
e.
ListChangedType
== System.ComponentModel.ListChangedType.PropertyDescriptorDeleted ||
477
e.
ListChangedType
== System.ComponentModel.ListChangedType.PropertyDescriptorChanged)
517
if (e.
ListChangedType
== ListChangedType.ItemAdded)
550
else if (e.
ListChangedType
== ListChangedType.ItemDeleted)
589
if (e.
ListChangedType
== ListChangedType.ItemAdded &&
617
if (e.
ListChangedType
== ListChangedType.ItemDeleted)
656
switch (e.
ListChangedType
)
751
MatchCurrencyManagerPosition(false /*scrollIntoView*/, e.
ListChangedType
== ListChangedType.Reset /*clearSelection*/);