8 references to IndexOf
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (5)
916int index = RowsInternal.IndexOf(row); 920if (index > 0 && index - 1 == RowsInternal.IndexOf(currentToolStripPanelRow)) 959if (RowsInternal.IndexOf(row) > 0) 1065int goodRowIndex = (currentlyAssignedRow is not null) ? RowsInternal.IndexOf(currentlyAssignedRow) : -1; 1106int rowIndex = rows.IndexOf(draggedToolStrip.ToolStripPanelRow!);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (1)
118int IList.IndexOf(object? value) { return IndexOf((ToolStripPanelRow)value!); }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
52int index = ToolStripPanel.RowsInternal.IndexOf(Row);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
53int index = ToolStripPanel.RowsInternal.IndexOf(Row);