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