Implemented interface member:
method
IndexOf
System.Collections.Generic.IList<T>.IndexOf(T)
58 references to IndexOf
mscorlib (1)
system\collections\objectmodel\collection.cs (1)
294return IndexOf((T)value);
PresentationFramework (17)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
193int localIndex = ProtectedItems.IndexOf(item);
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
499return this.OwningDataGrid.Columns.IndexOf(this._column);
src\Framework\System\Windows\Controls\DataGrid.cs (4)
1644int columnIndex = _columns.IndexOf(column); 1691int columnIndex = _columns.IndexOf(column); 7045int columnIndex = _columns.IndexOf(column); 7058int columnIndex = _columns.IndexOf(column);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1603columnIndex = parentDataGrid.Columns.IndexOf(cell.Column);
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
650int columnIndex = _dataGridOwner.Columns.IndexOf(this);
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
269return CoerceDefaultDisplayIndex(column, IndexOf(column));
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
58_columns.IndexOf(column));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1294int index = columns.IndexOf(column);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (3)
432int index = MutableBindingExpressions.IndexOf(bindingExpression); 447int index = MutableBindingExpressions.IndexOf(bindingExpression); 467int index = MutableBindingExpressions.IndexOf(bindingExpression);
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (3)
242int index = MutableBindingExpressions.IndexOf(bindingExpression); 290int index = MutableBindingExpressions.IndexOf(bindingExpression); 304int index = MutableBindingExpressions.IndexOf(bindingExpression);
System (2)
compmod\system\componentmodel\BindingList.cs (2)
316addNewPos = (newItem != null) ? IndexOf((T) newItem) : -1; 586pos = this.IndexOf(item);
System.Activities (1)
System\Activities\Statements\Sequence.cs (1)
114completedInstanceIndex = this.Activities.IndexOf(completedInstance.Activity);
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\ReorderableListEditor.xaml.cs (2)
66int oldIndex = this.List.IndexOf(this.SelectedListItem); 75int oldIndex = this.List.IndexOf(this.SelectedListItem);
System.Activities.Presentation (9)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (2)
122return this.tools.IndexOf((ToolboxItemWrapper)value); 145return this.tools.IndexOf((ToolboxItemWrapper)value);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (2)
123return this.categories.IndexOf((ToolboxCategory)value); 138return this.categories.IndexOf((ToolboxCategory)value);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
204int currentColumnIndex = columns.IndexOf(dataGrid.ColumnFromDisplayIndex(currentCell.Column.DisplayIndex)); 402int columnIndex = this.dataGrid.Columns.IndexOf(column); 736int columnIndex = this.dataGrid.Columns.IndexOf(this.dataGrid.CurrentCell.Column); 797.Select<DataGridColumn, int>(p => this.dataGrid.Columns.IndexOf(p));
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
565insertIndex = this.InternalChildren.IndexOf(tracker.ChildViewModels.Last()) + 1;
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (2)
122return this.tools.IndexOf((ToolboxItemWrapper)value); 145return this.tools.IndexOf((ToolboxItemWrapper)value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (2)
123return this.categories.IndexOf((ToolboxCategory)value); 138return this.categories.IndexOf((ToolboxCategory)value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
565insertIndex = this.InternalChildren.IndexOf(tracker.ChildViewModels.Last()) + 1;
System.ServiceModel (1)
System\ServiceModel\Channels\ChannelBuilder.cs (1)
73elements.Insert(elements.IndexOf(transport), new ChannelDemuxerBindingElement(true));
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\DiscoveryClientBindingElement.cs (1)
112if (context.Binding.Elements.IndexOf(this) != 0)
System.Web.DataVisualization (9)
Common\Annotation\AnnotationBase.cs (1)
3356 int pointIndex = dataPoint.series.Points.IndexOf(dataPoint);
Common\Converters\AnnotationConverters.cs (1)
84int pointIndex = dataPoint.series.Points.IndexOf(dataPoint) + 1;
Common\DataManager\DataPoint.cs (1)
2468 result = result.Replace(KeywordName.Index, this.series.Points.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture));
Common\General\BaseCollections.cs (1)
313int itemIndex = this.IndexOf(value);
Common\General\LegendColumns.cs (3)
1575 int cellIndex = this.LegendItem.Cells.IndexOf(this); 1646 int cellIndex = this.LegendItem.Cells.IndexOf(this); 1878 int cellIndex = this.LegendItem.Cells.IndexOf(this);
Common\General\Selection.cs (2)
2565pointIndex = dataPoint.series.Points.IndexOf(dataPoint); 2588int pointIndex = dataPoint.series.Points.IndexOf(dataPoint);
System.Windows.Forms.DataVisualization (9)
Common\Annotation\AnnotationBase.cs (1)
3356 int pointIndex = dataPoint.series.Points.IndexOf(dataPoint);
Common\Converters\AnnotationConverters.cs (1)
84int pointIndex = dataPoint.series.Points.IndexOf(dataPoint) + 1;
Common\DataManager\DataPoint.cs (1)
2468 result = result.Replace(KeywordName.Index, this.series.Points.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture));
Common\General\BaseCollections.cs (1)
313int itemIndex = this.IndexOf(value);
Common\General\LegendColumns.cs (3)
1575 int cellIndex = this.LegendItem.Cells.IndexOf(this); 1646 int cellIndex = this.LegendItem.Cells.IndexOf(this); 1878 int cellIndex = this.LegendItem.Cells.IndexOf(this);
Common\General\Selection.cs (2)
2565pointIndex = dataPoint.series.Points.IndexOf(dataPoint); 2588int pointIndex = dataPoint.series.Points.IndexOf(dataPoint);
System.Workflow.ComponentModel (1)
AuthoringOM\ParameterBinding.cs (1)
98index = this.IndexOf(oldItem);