19 references to NoNewItem
PresentationFramework (19)
System\Windows\Data\BindingListCollectionView.cs (8)
621
Debug.Assert(_newItemIndex == -2 && _newItem ==
NoNewItem
, "unexpected call to BeginAddNew");
664
if (_newItem ==
NoNewItem
)
690
if (_newItem !=
NoNewItem
)
711
if (_newItem ==
NoNewItem
)
737
if (_newItem !=
NoNewItem
)
749
SetNewItem(
NoNewItem
); // leave "adding-new" mode
842
get { return (_newItem !=
NoNewItem
); }
2566
private object _newItem =
NoNewItem
;
System\Windows\Data\CollectionView.cs (4)
1662
(_newItem ==
NoNewItem
|| _baseEnumerator.Current != _newItem
1667
else if (_newItem !=
NoNewItem
)
1683
if (_newItem !=
NoNewItem
&& _placeholderPosition == NewItemPlaceholderPosition.AtBeginning)
1703
(_newItem ==
NoNewItem
|| _baseEnumerator.Current != _newItem
System\Windows\Data\ListCollectionView.cs (7)
800
Debug.Assert(_newItemIndex == -2 && _newItem ==
NoNewItem
, "unexpected call to BeginAddNew");
841
if (_newItem ==
NoNewItem
)
957
if (_newItem ==
NoNewItem
)
970
if (_newItem !=
NoNewItem
)
992
SetNewItem(
NoNewItem
); // leave "adding-new" mode
1021
get { return (_newItem !=
NoNewItem
); }
3345
private object _newItem =
NoNewItem
;