Implemented interface member:
3 overrides of CurrentItem
PresentationFramework (3)
MS\Internal\Data\CollectionViewProxy.cs (1)
185public override object CurrentItem
MS\Internal\Data\EnumerableCollectionView.cs (1)
187public override object CurrentItem
System\Windows\Controls\ItemCollection.cs (1)
807public override object CurrentItem
50 references to CurrentItem
PresentationFramework (46)
MS\Internal\Controls\InnerItemCollectionView.cs (3)
446if (ItemsControl.EqualsEx(CurrentItem, item)) 503object oldCurrentItem = CurrentItem; 571if (oldCurrentItem != CurrentItem)
MS\Internal\Data\CompositeCollectionView.cs (15)
218if (ItemsControl.EqualsEx(CurrentItem, item)) 254if (((CurrentPosition != lastPosition) || (CurrentItem != lastItem)) 311if (position != CurrentPosition || item != CurrentItem) 904object oldCurrentItem = CurrentItem; 923if (oldCurrentItem != CurrentItem) 1078if (proposed != CurrentPosition || newCurrentItem != CurrentItem) 1085object oldCurrentItem = CurrentItem; 1112if (oldCurrentItem != CurrentItem) 1136if (ItemsControl.EqualsEx(CurrentItem, item)) 1165if (ItemsControl.EqualsEx(item, CurrentItem)) 1224SetCurrent(CurrentItem, CurrentPosition - 1); 1267object oldCurrentItem = CurrentItem; 1283int positionY = cc.ViewIndexOf(CurrentItem); 1319if (oldCurrentItem != CurrentItem) 1411SetCurrent(CurrentItem, CountDeep(x) + y);
MS\Internal\Data\EnumerableCollectionView.cs (1)
189get { return _view.CurrentItem; }
System\Windows\Controls\ItemCollection.cs (1)
816return _collectionView.CurrentItem;
System\Windows\Data\BindingListCollectionView.cs (11)
1270object oldCurrentItem = CurrentItem; 1398if (oldCurrentItem != CurrentItem) 1490object oldCurrentItem = CurrentItem; 1571bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 1578oldCurrentItem = CurrentItem; 1601if (CurrentItem != oldCurrentItem) 1604oldCurrentItem = CurrentItem; 1618currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2071SetCurrent(CurrentItem, CurrentPosition - 1); 2089SetCurrent(CurrentItem, CurrentPosition - 1); 2095SetCurrent(CurrentItem, CurrentPosition + 1);
System\Windows\Data\CollectionView.cs (4)
511if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 880if (oldCurrentItem != CurrentItem) 1351return GetItemAt(CurrentPosition) == CurrentItem; 1353return CurrentItem == null;
System\Windows\Data\ListCollectionView.cs (11)
108object oldCurrentItem = CurrentItem; 168if (oldCurrentItem != CurrentItem) 1862object oldCurrentItem = CurrentItem; 2071bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 2078oldCurrentItem = CurrentItem; 2105if (CurrentItem != oldCurrentItem) 2108oldCurrentItem = CurrentItem; 2122currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2823SetCurrent(CurrentItem, CurrentPosition - 1); 2844SetCurrent(CurrentItem, CurrentPosition - 1); 2850SetCurrent(CurrentItem, CurrentPosition + 1);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
1167RibbonGalleryCategory category = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryCategory; 1193SetCurrentValue(SelectedItemProperty, SourceCollectionView.CurrentItem);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
514RibbonGalleryItem galleryItem = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryItem; 524RibbonGallery.SelectedItem = CollectionView.CurrentItem;