DataGridCollectionViewIndexOf Method

Return the index where the given item appears, or -1 if doesn't appear.

Definition

Namespace: Avalonia.Collections
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll) Version: 11.3.999
public int IndexOf(
	Object item
)

Parameters

item  Object
Item we are searching for

Return Value

Int32
Index of specified item

Implements

IListIndexOf(Object)

See Also