Method FindItemIndexWithValue
FindItemIndexWithValue(IList<ListControlItem>, object?)
Finds the index of the item with Value property which is equal to the specified value.
public static int? FindItemIndexWithValue(IList<ListControlItem> collection, object? value)
Parameters
collectionIList<ListControlItem>The collection of
ListControlItem.valueobjectThe value to search for.
Returns
- int?