[]
Returns the zero-based index of the first occurrence of a value in the list.
public int IndexOf(DropDownItem value)
Type | Name | Description |
---|---|---|
DropDownItem | value | The item to locate in the list. |
Type | Description |
---|---|
int | The zero-based index of the first occurrence of value within the entire list, if found; otherwise, -1. |