Base:
method
IndexOf
System.Windows.Data.CollectionView.IndexOf(System.Object)
Implemented interface member:
22 references to IndexOf
Microsoft.VisualStudio.LanguageServices (1)
ChangeSignature\ChangeSignatureDialog.xaml.cs (1)
263Members.SelectedIndex = Members.Items.IndexOf(Members.CurrentItem);
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
549return this.OwningDataGrid.Items.IndexOf(this.Item);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
374int rowIndex = dataGrid.Items.IndexOf(Item);
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
341position = itemCollection.IndexOf(item); 359int position = itemCollection.IndexOf(item);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (4)
289startIndex = items.IndexOf(startAfterItem.Item)+ 1; 300if (items.IndexOf(items[i]) != i) 325if (currentValue == null && value == null && items.IndexOf(items[i]) == i) 332if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\Controls\ComboBox.cs (1)
1116index = Items.IndexOf(info.Item);
System\Windows\Controls\DataGrid.cs (4)
2750info = ItemInfoFromIndex(Items.IndexOf(newItem)); 3679newItemIndex = Items.IndexOf(currentAddItem); 5997index = Items.IndexOf(CurrentItem); 8373rowIndex = Items.IndexOf(args.Item);
System\Windows\Controls\ItemsControl.cs (2)
2582elementIndex = Items.IndexOf(item); 3810info.Index = Items.IndexOf(info.Item);
System\Windows\Controls\Primitives\Selector.cs (2)
597index = Items.IndexOf(value); 2159index = Items.IndexOf(_selectedItems[0].Item);
System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
1185int rowIndex = _owner.Items.IndexOf(rows[i]); 1418int rowIndex = _owner.Items.IndexOf(rows[i]); 1575rowIndex = _owner.Items.IndexOf(cell.Item);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1399index = category.Items.IndexOf(item);