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)
264Members.SelectedIndex = Members.Items.IndexOf(Members.CurrentItem);
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
543return this.OwningDataGrid.Items.IndexOf(this.Item);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
369int rowIndex = dataGrid.Items.IndexOf(Item);
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
331position = itemCollection.IndexOf(item); 349int position = itemCollection.IndexOf(item);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (4)
277startIndex = items.IndexOf(startAfterItem.Item)+ 1; 288if (items.IndexOf(items[i]) != i) 313if (currentValue == null && value == null && items.IndexOf(items[i]) == i) 320if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\Controls\ComboBox.cs (1)
1106index = Items.IndexOf(info.Item);
System\Windows\Controls\DataGrid.cs (4)
2747info = ItemInfoFromIndex(Items.IndexOf(newItem)); 3676newItemIndex = Items.IndexOf(currentAddItem); 5994index = Items.IndexOf(CurrentItem); 8370rowIndex = Items.IndexOf(args.Item);
System\Windows\Controls\ItemsControl.cs (2)
2573elementIndex = Items.IndexOf(item); 3801info.Index = Items.IndexOf(info.Item);
System\Windows\Controls\Primitives\Selector.cs (2)
588index = Items.IndexOf(value); 2150index = Items.IndexOf(_selectedItems[0].Item);
System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
1181int rowIndex = _owner.Items.IndexOf(rows[i]); 1414int rowIndex = _owner.Items.IndexOf(rows[i]); 1571rowIndex = _owner.Items.IndexOf(cell.Item);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1397index = category.Items.IndexOf(item);