Implemented interface member:
3 overrides of CurrentItem
PresentationFramework (3)
MS\Internal\Data\CollectionViewProxy.cs (1)
190public override object CurrentItem
MS\Internal\Data\EnumerableCollectionView.cs (1)
188public override object CurrentItem
System\Windows\Controls\ItemCollection.cs (1)
815public override object CurrentItem
79 references to CurrentItem
PresentationFramework (75)
MS\Internal\Controls\InnerItemCollectionView.cs (7)
439/// Move <seealso cref="CollectionView.CurrentItem"/> to the given item. 443/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 447if (ItemsControl.EqualsEx(CurrentItem, item)) 458/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 461/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 504object oldCurrentItem = CurrentItem; 572if (oldCurrentItem != CurrentItem)
MS\Internal\Data\CompositeCollectionView.cs (21)
117/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 130/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 221if (ItemsControl.EqualsEx(CurrentItem, item)) 257if (((CurrentPosition != lastPosition) || (CurrentItem != lastItem)) 300/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 303/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 314if (position != CurrentPosition || item != CurrentItem) 913object oldCurrentItem = CurrentItem; 932if (oldCurrentItem != CurrentItem) 1087if (proposed != CurrentPosition || newCurrentItem != CurrentItem) 1094object oldCurrentItem = CurrentItem; 1121if (oldCurrentItem != CurrentItem) 1145if (ItemsControl.EqualsEx(CurrentItem, item)) 1174if (ItemsControl.EqualsEx(item, CurrentItem)) 1233SetCurrent(CurrentItem, CurrentPosition - 1); 1276object oldCurrentItem = CurrentItem; 1292int positionY = cc.ViewIndexOf(CurrentItem); 1328if (oldCurrentItem != CurrentItem) 1420SetCurrent(CurrentItem, CountDeep(x) + y); 1665if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !_collection.HasRepeatedCollection()) 1670if ((CurrentItem != null) && !_collection.HasRepeatedCollection())
MS\Internal\Data\EnumerableCollectionView.cs (1)
190get { return _view.CurrentItem; }
System\Windows\Controls\ItemCollection.cs (1)
824return _collectionView.CurrentItem;
System\Windows\Data\BindingListCollectionView.cs (13)
96/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 99/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 1286object oldCurrentItem = CurrentItem; 1414if (oldCurrentItem != CurrentItem) 1507object oldCurrentItem = CurrentItem; 1588bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 1595oldCurrentItem = CurrentItem; 1618if (CurrentItem != oldCurrentItem) 1621oldCurrentItem = CurrentItem; 1635currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2088SetCurrent(CurrentItem, CurrentPosition - 1); 2106SetCurrent(CurrentItem, CurrentPosition - 1); 2112SetCurrent(CurrentItem, CurrentPosition + 1);
System\Windows\Data\CollectionView.cs (19)
356/// The ordinal position of the <seealso cref="CurrentItem"/> within the (optionally 380/// Return true if <seealso cref="CurrentItem"/> is beyond the end (End-Of-File). 394/// Return true if <seealso cref="CurrentItem"/> is before the beginning (Beginning-Of-File). 407/// Move <seealso cref="CurrentItem"/> to the first item. 409/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 425/// Move <seealso cref="CurrentItem"/> to the last item. 427/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 443/// Move <seealso cref="CurrentItem"/> to the next item. 445/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 474/// Move <seealso cref="CurrentItem"/> to the previous item. 476/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 505/// Move <seealso cref="CurrentItem"/> to the given item. 509/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 515if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 536/// Move <seealso cref="CurrentItem"/> to the item at the given index. 539/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 884if (oldCurrentItem != CurrentItem) 1355return GetItemAt(CurrentPosition) == CurrentItem; 1357return CurrentItem == null;
System\Windows\Data\ListCollectionView.cs (13)
109object oldCurrentItem = CurrentItem; 169if (oldCurrentItem != CurrentItem) 188/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 191/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 1881object oldCurrentItem = CurrentItem; 2090bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 2097oldCurrentItem = CurrentItem; 2124if (CurrentItem != oldCurrentItem) 2127oldCurrentItem = CurrentItem; 2141currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2845SetCurrent(CurrentItem, CurrentPosition - 1); 2866SetCurrent(CurrentItem, CurrentPosition - 1); 2872SetCurrent(CurrentItem, CurrentPosition + 1);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
1166RibbonGalleryCategory category = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryCategory; 1192SetCurrentValue(SelectedItemProperty, SourceCollectionView.CurrentItem);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
518RibbonGalleryItem galleryItem = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryItem; 528RibbonGallery.SelectedItem = CollectionView.CurrentItem;