Version: 2020.1

ListView.selectedIndex

切换到手册
public int selectedIndex ;

描述

Returns the selected item's index in the items source. If multiple items are selected, returns the first selected item's index.