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