8 references to IndexOf
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (5)
916
int index = RowsInternal.
IndexOf
(row);
920
if (index > 0 && index - 1 == RowsInternal.
IndexOf
(currentToolStripPanelRow))
959
if (RowsInternal.
IndexOf
(row) > 0)
1065
int goodRowIndex = (currentlyAssignedRow is not null) ? RowsInternal.
IndexOf
(currentlyAssignedRow) : -1;
1106
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);