1 write to _newItem
PresentationFramework (1)
System\Windows\Data\BindingListCollectionView.cs (1)
853
_newItem
= item;
24 references to _newItem
PresentationFramework (24)
System\Windows\Data\BindingListCollectionView.cs (24)
583
Debug.Assert(_newItemIndex != -2 && newItem ==
_newItem
, "AddNew did not raise expected events");
616
Debug.Assert(_newItemIndex == -2 &&
_newItem
== NoNewItem, "unexpected call to BeginAddNew");
659
if (
_newItem
== NoNewItem)
675
else if ((ieo =
_newItem
as IEditableObject) != null)
685
if (
_newItem
!= NoNewItem)
706
if (
_newItem
== NoNewItem)
722
else if ((ieo =
_newItem
as IEditableObject) != null)
732
if (
_newItem
!= NoNewItem)
742
object newItem =
_newItem
;
837
get { return (
_newItem
!= NoNewItem); }
846
get { return IsAddingNew ?
_newItem
: null; }
851
if (!System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
969
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
1719
else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item,
_newItem
))
1778
return
_newItem
;
1788
return
_newItem
;
1813
return new PlaceholderAwareEnumerator(this, CollectionProxy.GetEnumerator(), NewItemPlaceholderPosition,
_newItem
);
1923
Debug.Assert(
_newItem
== InternalList[index], "unexpected item while committing AddNew");
1981
item =
_newItem
;
2038
_newItemIndex = InternalList.IndexOf(
_newItem
);
2279
_group.InsertSpecialItem(1,
_newItem
, true /*loading*/);
2291
if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(
_newItem
, item))
2299
_group.InsertSpecialItem(_group.Items.Count,
_newItem
, true /*loading*/);
2344
if (IsAddingNew && item ==
_newItem
)