[]
        
(Showing Draft Content)

C1.Win.C1Input.DropDownItemCollection.IndexOf

IndexOf Method

IndexOf(DropDownItem)

Returns the zero-based index of the first occurrence of a value in the list.

Declaration
public int IndexOf(DropDownItem value)
Public Function IndexOf(value As DropDownItem) As Integer
Parameters
Type Name Description
DropDownItem value

The item to locate in the list.

Returns
Type Description
int

The zero-based index of the first occurrence of value within the entire list, if found; otherwise, -1.