Method FindItemIndex
FindItemIndex(ListControlItem?)
Searches for the specified item within the current list and returns its index if found.
public virtual int? FindItemIndex(ListControlItem? value)
Parameters
valueListControlItemThe item to locate within the Items collection.
Returns
- int?
The zero-based index of the item if it exists in the collection; otherwise,
null. Returnsnullifvalueisnull.
Remarks
This method performs a reference equality check to locate the item.