How can I get the last select-item in ListView?
Hi, there
How can I get the last select-item in ListView?
************ code *****************************
int i = ListView.SelectImtmes.Count - 1;
ListViewItem item = ListView.SelectItems[i];
************ code *****************************
I can do it when user selects in order.
but when user selects not in order,
(ex. select ListViewItem.Items[5], then ListViewItem.Items[3])
I cann't get the correct last select-item.
How to do it?
Thanks...