Summary
Return the index where the given item appears, or -1 if doesn't appear.
- Namespace
- Avalonia
.Collections - Containing Type
- Data
Grid Collection View
Syntax
public int IndexOf(object item)
Parameters
Name | Type | Description |
---|---|---|
item | object | Item we are searching for |
Return Value
Type | Description |
---|---|
int | Index of specified item |