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)
263
Members.SelectedIndex = Members.Items.
IndexOf
(Members.CurrentItem);
PresentationFramework (20)
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
549
return this.OwningDataGrid.Items.
IndexOf
(this.Item);
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
374
int rowIndex = dataGrid.Items.
IndexOf
(Item);
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
341
position = itemCollection.
IndexOf
(item);
359
int position = itemCollection.
IndexOf
(item);
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (4)
289
startIndex = items.
IndexOf
(startAfterItem.Item)+ 1;
300
if (items.
IndexOf
(items[i]) != i)
325
if (currentValue == null && value == null && items.
IndexOf
(items[i]) == i)
332
if (value.Equals(currentValue) && items.
IndexOf
(items[i]) == i)
System\Windows\Controls\ComboBox.cs (1)
1116
index = Items.
IndexOf
(info.Item);
System\Windows\Controls\DataGrid.cs (4)
2750
info = ItemInfoFromIndex(Items.
IndexOf
(newItem));
3679
newItemIndex = Items.
IndexOf
(currentAddItem);
5997
index = Items.
IndexOf
(CurrentItem);
8373
rowIndex = Items.
IndexOf
(args.Item);
System\Windows\Controls\ItemsControl.cs (2)
2582
elementIndex = Items.
IndexOf
(item);
3810
info.Index = Items.
IndexOf
(info.Item);
System\Windows\Controls\Primitives\Selector.cs (2)
597
index = Items.
IndexOf
(value);
2159
index = Items.
IndexOf
(_selectedItems[0].Item);
System\Windows\Controls\VirtualizedCellInfoCollection.cs (3)
1185
int rowIndex = _owner.Items.
IndexOf
(rows[i]);
1418
int rowIndex = _owner.Items.
IndexOf
(rows[i]);
1575
rowIndex = _owner.Items.
IndexOf
(cell.Item);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1399
index = category.Items.
IndexOf
(item);