[]
Determines the index of the item in the collection with the specified value of the ID property.
public int IndexOfID(int id)
Type | Name | Description |
---|---|---|
int | id | The value of the ID property to search for. |
Type | Description |
---|---|
int | Index of the panel with the specified ID, or -1 if no such panel exists. |