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