Version

DataIndexOfPrimaryKey Method (XamDataGrid)

Returns the data index of a primary key value.
Syntax
public int DataIndexOfPrimaryKey( 
   object[] key
)

Parameters

key
The primary key value for which to get the index.

Return Value

The index of the key, or -1 if not found or available.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also