ListView.TryGetItemView
TryGetItemView(int, out ItemView)
Attempts to retrieve the ItemView in view representing the object in the data source at the provided index, sourceIndex.
Declaration
public bool TryGetItemView(int sourceIndex, out ItemView listItem)
Parameters
| Type | Name | Description |
|---|---|---|
| int | sourceIndex | The index of the object in the data source |
| ItemView | listItem | The list item visual reprensenting the object at index |
Returns
| Type | Description |
|---|---|
| bool | true if a list item representing the object at index |