Implemented interface member:
3 overrides of CurrentItem
PresentationFramework (3)
MS\Internal\Data\CollectionViewProxy.cs (1)
187public override object CurrentItem
MS\Internal\Data\EnumerableCollectionView.cs (1)
188public override object CurrentItem
System\Windows\Controls\ItemCollection.cs (1)
809public 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)
115/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 128/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 219if (ItemsControl.EqualsEx(CurrentItem, item)) 255if (((CurrentPosition != lastPosition) || (CurrentItem != lastItem)) 298/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 301/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 312if (position != CurrentPosition || item != CurrentItem) 905object oldCurrentItem = CurrentItem; 924if (oldCurrentItem != CurrentItem) 1079if (proposed != CurrentPosition || newCurrentItem != CurrentItem) 1086object oldCurrentItem = CurrentItem; 1113if (oldCurrentItem != CurrentItem) 1137if (ItemsControl.EqualsEx(CurrentItem, item)) 1166if (ItemsControl.EqualsEx(item, CurrentItem)) 1225SetCurrent(CurrentItem, CurrentPosition - 1); 1268object oldCurrentItem = CurrentItem; 1284int positionY = cc.ViewIndexOf(CurrentItem); 1320if (oldCurrentItem != CurrentItem) 1412SetCurrent(CurrentItem, CountDeep(x) + y); 1653if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !_collection.HasRepeatedCollection()) 1658if ((CurrentItem != null) && !_collection.HasRepeatedCollection())
MS\Internal\Data\EnumerableCollectionView.cs (1)
190get { return _view.CurrentItem; }
System\Windows\Controls\ItemCollection.cs (1)
818return _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> 1271object oldCurrentItem = CurrentItem; 1399if (oldCurrentItem != CurrentItem) 1492object oldCurrentItem = CurrentItem; 1573bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 1580oldCurrentItem = CurrentItem; 1603if (CurrentItem != oldCurrentItem) 1606oldCurrentItem = CurrentItem; 1620currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2073SetCurrent(CurrentItem, CurrentPosition - 1); 2091SetCurrent(CurrentItem, CurrentPosition - 1); 2097SetCurrent(CurrentItem, CurrentPosition + 1);
System\Windows\Data\CollectionView.cs (19)
353/// The ordinal position of the <seealso cref="CurrentItem"/> within the (optionally 377/// Return true if <seealso cref="CurrentItem"/> is beyond the end (End-Of-File). 391/// Return true if <seealso cref="CurrentItem"/> is before the beginning (Beginning-Of-File). 404/// Move <seealso cref="CurrentItem"/> to the first item. 406/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 422/// Move <seealso cref="CurrentItem"/> to the last item. 424/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 440/// Move <seealso cref="CurrentItem"/> to the next item. 442/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 471/// Move <seealso cref="CurrentItem"/> to the previous item. 473/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 502/// Move <seealso cref="CurrentItem"/> to the given item. 506/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 512if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 533/// Move <seealso cref="CurrentItem"/> to the item at the given index. 536/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 881if (oldCurrentItem != CurrentItem) 1352return GetItemAt(CurrentPosition) == CurrentItem; 1354return 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> 1863object oldCurrentItem = CurrentItem; 2072bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 2079oldCurrentItem = CurrentItem; 2106if (CurrentItem != oldCurrentItem) 2109oldCurrentItem = CurrentItem; 2123currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2827SetCurrent(CurrentItem, CurrentPosition - 1); 2848SetCurrent(CurrentItem, CurrentPosition - 1); 2854SetCurrent(CurrentItem, CurrentPosition + 1);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
1168RibbonGalleryCategory category = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryCategory; 1194SetCurrentValue(SelectedItemProperty, SourceCollectionView.CurrentItem);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
515RibbonGalleryItem galleryItem = this.ItemContainerGenerator.ContainerFromItem(CollectionView.CurrentItem) as RibbonGalleryItem; 525RibbonGallery.SelectedItem = CollectionView.CurrentItem;