I have created a ListView called listUsers, but for some reason SelectedIndex isn\'t defined.
ListView
listUsers
SelectedIndex
For getting the index of a row in ListView I'm using
int myindex = Listview1.FocusedItem.Index;
It works.