Implemented interface member:
3 overrides of CurrentItem
PresentationFramework (3)
MS\Internal\Data\CollectionViewProxy.cs (1)
186public override object CurrentItem
MS\Internal\Data\EnumerableCollectionView.cs (1)
187public override object CurrentItem
System\Windows\Controls\ItemCollection.cs (1)
807public override object CurrentItem
79 references to CurrentItem
PresentationFramework (75)
MS\Internal\Controls\InnerItemCollectionView.cs (7)
438/// Move <seealso cref="CollectionView.CurrentItem"/> to the given item. 442/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 446if (ItemsControl.EqualsEx(CurrentItem, item)) 457/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 460/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 503object oldCurrentItem = CurrentItem; 571if (oldCurrentItem != CurrentItem)
MS\Internal\Data\CompositeCollectionView.cs (21)
114/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 127/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 218if (ItemsControl.EqualsEx(CurrentItem, item)) 254if (((CurrentPosition != lastPosition) || (CurrentItem != lastItem)) 297/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 300/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 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); 1651if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !_collection.HasRepeatedCollection()) 1656if ((CurrentItem != null) && !_collection.HasRepeatedCollection())
MS\Internal\Data\EnumerableCollectionView.cs (1)
189get { return _view.CurrentItem; }
System\Windows\Controls\ItemCollection.cs (1)
816return _collectionView.CurrentItem;
System\Windows\Data\BindingListCollectionView.cs (13)
95/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 98/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 1270object oldCurrentItem = CurrentItem; 1398if (oldCurrentItem != CurrentItem) 1491object oldCurrentItem = CurrentItem; 1572bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 1579oldCurrentItem = CurrentItem; 1602if (CurrentItem != oldCurrentItem) 1605oldCurrentItem = CurrentItem; 1619currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2072SetCurrent(CurrentItem, CurrentPosition - 1); 2090SetCurrent(CurrentItem, CurrentPosition - 1); 2096SetCurrent(CurrentItem, CurrentPosition + 1);
System\Windows\Data\CollectionView.cs (19)
352/// The ordinal position of the <seealso cref="CurrentItem"/> within the (optionally 376/// Return true if <seealso cref="CurrentItem"/> is beyond the end (End-Of-File). 390/// Return true if <seealso cref="CurrentItem"/> is before the beginning (Beginning-Of-File). 403/// Move <seealso cref="CurrentItem"/> to the first item. 405/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 421/// Move <seealso cref="CurrentItem"/> to the last item. 423/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 439/// Move <seealso cref="CurrentItem"/> to the next item. 441/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 470/// Move <seealso cref="CurrentItem"/> to the previous item. 472/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 501/// Move <seealso cref="CurrentItem"/> to the given item. 505/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 511if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 532/// Move <seealso cref="CurrentItem"/> to the item at the given index. 535/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 880if (oldCurrentItem != CurrentItem) 1351return GetItemAt(CurrentPosition) == CurrentItem; 1353return CurrentItem == null;
System\Windows\Data\ListCollectionView.cs (13)
108object oldCurrentItem = CurrentItem; 168if (oldCurrentItem != CurrentItem) 187/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 190/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 1862object oldCurrentItem = CurrentItem; 2071bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 2078oldCurrentItem = CurrentItem; 2105if (CurrentItem != oldCurrentItem) 2108oldCurrentItem = CurrentItem; 2122currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2826SetCurrent(CurrentItem, CurrentPosition - 1); 2847SetCurrent(CurrentItem, CurrentPosition - 1); 2853SetCurrent(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;