Table of Contents

Method FindItemIndex

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

FindItemIndex(ListControlItem?)

Searches for the specified item within the current list and returns its index if found.

public virtual int? FindItemIndex(ListControlItem? value)

Parameters

value ListControlItem

The item to locate within the Items collection.

Returns

int?

The zero-based index of the item if it exists in the collection; otherwise, null. Returns null if value is null.

Remarks

This method performs a reference equality check to locate the item.