FREE TRIAL

|

☀
☾

ListView.TryGetSourceIndex

TryGetSourceIndex(ItemView, out int)

Attempts to retrieve the index into the data source, sourceIndex, represented by the provided in-view listItem.

Declaration
public bool TryGetSourceIndex(ItemView listItem, out int sourceIndex)
Parameters
Type Name Description
ItemView listItem

The list item visual reprensenting the object at index sourceIndex

int sourceIndex

The index of the object in the data source

Returns
Type Description
bool

true if listItem is loaded into view. Otherwise returns false.

See Also
TryGetItemView(System.Int32, ItemView)
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC