GridView.TryGetGridItem
TryGetGridItem(GridIndex, out ItemView)
Retrieves the ItemView representing the object in the data source at the provided GridIndex if it's paged into the GridView.
Declaration
public bool TryGetGridItem(GridIndex index, out ItemView gridItem)
Parameters
Type | Name | Description |
---|---|---|
GridIndex | index | The GridIndex of the object in the data source represented by the requested ItemView, where Row is the index into the PrimaryAxis and Column is the index into the CrossAxis |
ItemView | gridItem | The item in the GridView representing the data object in the data source at the provided GridIndex. |
Returns
Type | Description |
---|---|
bool | Returns true if the requested ItemView is found (paged into view), otherwise returns false. |