19 references to NoNewItem
PresentationFramework (19)
System\Windows\Data\BindingListCollectionView.cs (8)
616
Debug.Assert(_newItemIndex == -2 && _newItem ==
NoNewItem
, "unexpected call to BeginAddNew");
659
if (_newItem ==
NoNewItem
)
685
if (_newItem !=
NoNewItem
)
706
if (_newItem ==
NoNewItem
)
732
if (_newItem !=
NoNewItem
)
744
SetNewItem(
NoNewItem
); // leave "adding-new" mode
837
get { return (_newItem !=
NoNewItem
); }
2561
private object _newItem =
NoNewItem
;
System\Windows\Data\CollectionView.cs (4)
1658
(_newItem ==
NoNewItem
|| _baseEnumerator.Current != _newItem
1663
else if (_newItem !=
NoNewItem
)
1679
if (_newItem !=
NoNewItem
&& _placeholderPosition == NewItemPlaceholderPosition.AtBeginning)
1699
(_newItem ==
NoNewItem
|| _baseEnumerator.Current != _newItem
System\Windows\Data\ListCollectionView.cs (7)
794
Debug.Assert(_newItemIndex == -2 && _newItem ==
NoNewItem
, "unexpected call to BeginAddNew");
835
if (_newItem ==
NoNewItem
)
951
if (_newItem ==
NoNewItem
)
964
if (_newItem !=
NoNewItem
)
986
SetNewItem(
NoNewItem
); // leave "adding-new" mode
1015
get { return (_newItem !=
NoNewItem
); }
3339
private object _newItem =
NoNewItem
;