11 references to IndexOf
System.Windows.Forms (11)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
73
return InnerArray.
IndexOf
(identifier, stateMask: 0);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (2)
103
return InnerArray.
IndexOf
(item, s_anyMask);
108
return InnerArray.
IndexOf
(item, s_anyMask);
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
28
protected int CurrentIndex => _owningListBox.Items.InnerArray.
IndexOf
(_itemEntry);
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (3)
302
return InnerArray.
IndexOf
(value);
311
return InnerArray.
IndexOf
(value);
373
int index = InnerArray.
IndexOf
(value);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (2)
91
return InnerArray.
IndexOf
(InnerArray.GetItem(selectedIndex), SelectedObjectCollection.SelectedObjectMask);
142
return InnerArray.
IndexOf
(identifier);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
149
return selectedObject is null ? -1 : InnerArray.
IndexOf
(selectedObject, SelectedObjectMask);
System\Windows\Forms\Internal\ItemArray.cs (1)
237
int index =
IndexOf
(item);