Skip to main content

GetIndex Method

Obsolete.

Note: This API is now obsolete.

Returns the index of the current row.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

[ObsoleteAttribute("This API is going to be removed in a future version. Use the Index property instead.")]
public int GetIndex()

Return Value​

Int32
The index of the current row.

See Also​

Reference​

DataGridRow Class
Avalonia.Controls Namespace