Bewerken

Delen via


DataGridRow.GetIndex Method

Definition

Returns the index of the row's data item within the Items collection of the DataGrid.

public:
 int GetIndex();
public int GetIndex ();
member this.GetIndex : unit -> int
Public Function GetIndex () As Integer

Returns

The index of the row's data item, or -1 if the item was not found.

Applies to

See also