1 write to _newItem
PresentationFramework (1)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
865
_newItem
= item;
24 references to _newItem
PresentationFramework (24)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (24)
595
Debug.Assert(_newItemIndex != -2 && newItem ==
_newItem
, "AddNew did not raise expected events");
628
Debug.Assert(_newItemIndex == -2 &&
_newItem
== NoNewItem, "unexpected call to BeginAddNew");
671
if (
_newItem
== NoNewItem)
687
else if ((ieo =
_newItem
as IEditableObject) != null)
697
if (
_newItem
!= NoNewItem)
718
if (
_newItem
== NoNewItem)
734
else if ((ieo =
_newItem
as IEditableObject) != null)
744
if (
_newItem
!= NoNewItem)
754
object newItem =
_newItem
;
849
get { return (
_newItem
!= NoNewItem); }
858
get { return IsAddingNew ?
_newItem
: null; }
863
if (!System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
981
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
1731
else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
1790
return
_newItem
;
1800
return
_newItem
;
1825
return new PlaceholderAwareEnumerator(this, CollectionProxy.GetEnumerator(), NewItemPlaceholderPosition,
_newItem
);
1935
Debug.Assert(
_newItem
== InternalList[index], "unexpected item while committing AddNew");
1993
item =
_newItem
;
2050
_newItemIndex = InternalList.IndexOf(
_newItem
);
2291
_group.InsertSpecialItem(1,
_newItem
, true /*loading*/);
2303
if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(
_newItem
, item))
2311
_group.InsertSpecialItem(_group.Items.Count,
_newItem
, true /*loading*/);
2356
if (IsAddingNew && item ==
_newItem
)