ListView active Item.

  • Thread starter Thread starter genc ymeri
  • Start date Start date
G

genc ymeri

Hi,
I have a ListView component wich have several items. How can I tell what is
the selected index item in Run Time when user will select a row
(FullRowSelect=true) ? I may need to delete/edit that select item but I
don't know how to get access to it.

Any help it will be great.

Thanks a lot in advance.
 
"ListView.SelectedIndices" returns the index of the items selected and
"ListView.SelectedItems" returns the actual items/objects selection.

- Noah Coad -
Microsoft MVP
 
I did see them but I'm sure how to delete/edit ListView items retrieving a
collection of indexes of items.

I did something like below but it didn't help me much.....
System.Windows.Forms.ListView.SelectedListViewItemCollection MyColl =
lsvPropertiesListView.SelectedItems;
 
Back
Top