1 write to _newItem
PresentationFramework (1)
System\Windows\Data\BindingListCollectionView.cs (1)
858
_newItem
= item;
24 references to _newItem
PresentationFramework (24)
System\Windows\Data\BindingListCollectionView.cs (24)
588
Debug.Assert(_newItemIndex != -2 && newItem ==
_newItem
, "AddNew did not raise expected events");
621
Debug.Assert(_newItemIndex == -2 &&
_newItem
== NoNewItem, "unexpected call to BeginAddNew");
664
if (
_newItem
== NoNewItem)
680
else if ((ieo =
_newItem
as IEditableObject) != null)
690
if (
_newItem
!= NoNewItem)
711
if (
_newItem
== NoNewItem)
727
else if ((ieo =
_newItem
as IEditableObject) != null)
737
if (
_newItem
!= NoNewItem)
747
object newItem =
_newItem
;
842
get { return (
_newItem
!= NoNewItem); }
851
get { return IsAddingNew ?
_newItem
: null; }
856
if (!System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
974
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
1724
else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
1783
return
_newItem
;
1793
return
_newItem
;
1818
return new PlaceholderAwareEnumerator(this, CollectionProxy.GetEnumerator(), NewItemPlaceholderPosition,
_newItem
);
1928
Debug.Assert(
_newItem
== InternalList[index], "unexpected item while committing AddNew");
1986
item =
_newItem
;
2043
_newItemIndex = InternalList.IndexOf(
_newItem
);
2284
_group.InsertSpecialItem(1,
_newItem
, true /*loading*/);
2296
if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(
_newItem
, item))
2304
_group.InsertSpecialItem(_group.Items.Count,
_newItem
, true /*loading*/);
2349
if (IsAddingNew && item ==
_newItem
)