Table of Contents

Method FindItemIndexWithValue

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

collection IList<ListControlItem>

The collection of ListControlItem.

value object

The value to search for.

Returns

int?