Implemented interface member:
property
CurrentItem
System.ComponentModel.ICollectionView.CurrentItem
3 overrides of CurrentItem
PresentationFramework (3)
src\Framework\MS\Internal\Data\CollectionViewProxy.cs (1)
195public override object CurrentItem
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
195public override object CurrentItem
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
835public override object CurrentItem
73 references to CurrentItem
PresentationFramework (73)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (7)
442/// Move <seealso cref="CollectionView.CurrentItem"/> to the given item. 446/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 450if (ItemsControl.EqualsEx(CurrentItem, item)) 461/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 464/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 507object oldCurrentItem = CurrentItem; 576if (oldCurrentItem != CurrentItem)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (19)
130/// Return true if <seealso cref="CollectionView.CurrentItem"/> is beyond the end or the collection is empty. 143/// Return true if <seealso cref="CollectionView.CurrentItem"/> is before the beginning or the collection is empty. 235if (ItemsControl.EqualsEx(CurrentItem, item)) 271if (((CurrentPosition != lastPosition) || (CurrentItem != lastItem)) 315/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 318/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 330if (position != CurrentPosition || item != CurrentItem) 937object oldCurrentItem = CurrentItem; 956if (oldCurrentItem != CurrentItem) 1111if (proposed != CurrentPosition || newCurrentItem != CurrentItem) 1118object oldCurrentItem = CurrentItem; 1145if (oldCurrentItem != CurrentItem) 1169if (ItemsControl.EqualsEx(CurrentItem, item)) 1198if (ItemsControl.EqualsEx(item, CurrentItem)) 1257SetCurrent(CurrentItem, CurrentPosition - 1); 1301object oldCurrentItem = CurrentItem; 1317int positionY = cc.ViewIndexOf(CurrentItem); 1353if (oldCurrentItem != CurrentItem) 1445SetCurrent(CurrentItem, CountDeep(x) + y);
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
197get { return _view.CurrentItem; }
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
844return _collectionView.CurrentItem;
src\Framework\System\Windows\Data\BindingListCollectionView.cs (13)
108/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 111/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 1298object oldCurrentItem = CurrentItem; 1426if (oldCurrentItem != CurrentItem) 1519object oldCurrentItem = CurrentItem; 1600bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 1607oldCurrentItem = CurrentItem; 1630if (CurrentItem != oldCurrentItem) 1633oldCurrentItem = CurrentItem; 1647currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2100SetCurrent(CurrentItem, CurrentPosition - 1); 2118SetCurrent(CurrentItem, CurrentPosition - 1); 2124SetCurrent(CurrentItem, CurrentPosition + 1);
src\Framework\System\Windows\Data\CollectionView.cs (19)
368/// The ordinal position of the <seealso cref="CurrentItem"/> within the (optionally 392/// Return true if <seealso cref="CurrentItem"/> is beyond the end (End-Of-File). 406/// Return true if <seealso cref="CurrentItem"/> is before the beginning (Beginning-Of-File). 419/// Move <seealso cref="CurrentItem"/> to the first item. 421/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 437/// Move <seealso cref="CurrentItem"/> to the last item. 439/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 455/// Move <seealso cref="CurrentItem"/> to the next item. 457/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 486/// Move <seealso cref="CurrentItem"/> to the previous item. 488/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 517/// Move <seealso cref="CurrentItem"/> to the given item. 521/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 527if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 548/// Move <seealso cref="CurrentItem"/> to the item at the given index. 551/// <returns>true if <seealso cref="CurrentItem"/> points to an item within the view.</returns> 897if (oldCurrentItem != CurrentItem) 1370return GetItemAt(CurrentPosition) == CurrentItem; 1372return CurrentItem == null;
src\Framework\System\Windows\Data\ListCollectionView.cs (13)
122object oldCurrentItem = CurrentItem; 182if (oldCurrentItem != CurrentItem) 202/// Move <seealso cref="CollectionView.CurrentItem"/> to the item at the given index. 205/// <returns>true if <seealso cref="CollectionView.CurrentItem"/> points to an item within the view.</returns> 1896object oldCurrentItem = CurrentItem; 2105bool currentItemHasChanged = (CurrentItem != oldCurrentItem); 2112oldCurrentItem = CurrentItem; 2139if (CurrentItem != oldCurrentItem) 2142oldCurrentItem = CurrentItem; 2157currentItemHasChanged = currentItemHasChanged || (CurrentItem != oldCurrentItem); 2864SetCurrent(CurrentItem, CurrentPosition - 1); 2885SetCurrent(CurrentItem, CurrentPosition - 1); 2891SetCurrent(CurrentItem, CurrentPosition + 1);