19 references to NoNewItem
PresentationFramework (19)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (8)
628
Debug.Assert(_newItemIndex == -2 && _newItem ==
NoNewItem
, "unexpected call to BeginAddNew");
671
if (_newItem ==
NoNewItem
)
697
if (_newItem !=
NoNewItem
)
718
if (_newItem ==
NoNewItem
)
744
if (_newItem !=
NoNewItem
)
756
SetNewItem(
NoNewItem
); // leave "adding-new" mode
849
get { return (_newItem !=
NoNewItem
); }
2574
private object _newItem =
NoNewItem
;
src\Framework\System\Windows\Data\CollectionView.cs (4)
1673
(_newItem ==
NoNewItem
|| _baseEnumerator.Current != _newItem
1678
else if (_newItem !=
NoNewItem
)
1694
if (_newItem !=
NoNewItem
&& _placeholderPosition == NewItemPlaceholderPosition.AtBeginning)
1714
(_newItem ==
NoNewItem
|| _baseEnumerator.Current != _newItem
src\Framework\System\Windows\Data\ListCollectionView.cs (7)
808
Debug.Assert(_newItemIndex == -2 && _newItem ==
NoNewItem
, "unexpected call to BeginAddNew");
849
if (_newItem ==
NoNewItem
)
965
if (_newItem ==
NoNewItem
)
978
if (_newItem !=
NoNewItem
)
1000
SetNewItem(
NoNewItem
); // leave "adding-new" mode
1029
get { return (_newItem !=
NoNewItem
); }
3358
private object _newItem =
NoNewItem
;