WinForm里有ListView.SelectedItems[i].Index,WPF中没有这个属性啊
自己的方法是:
System.Collections.IList selectedDataCollection = listViewQueue.SelectedItems;
foreach (getData selectData in listViewQueue.SelectedItems)
{
int selectIndex = listData.IndexOf(selectData);
}
但是要遍历查询,执行效率不高啊
RISEBY