I have a LISTVIEW where every item have 6 subitems (columns).
Expand|Select|Wrap|Line Numbers
- lstBrowse.Columns.Add("Col1", 150, HorizontalAlignment.Left)
- lstBrowse.Columns.Add("Col2", 150, HorizontalAlignment.Left)
- lstBrowse.Columns.Add("Col3", 150, HorizontalAlignment.Left)
- lstBrowse.Columns.Add("Col4", 150, HorizontalAlignment.Left)
- lstBrowse.Columns.Add("Col5", 150, HorizontalAlignment.Left)
- lstBrowse.Columns.Add("Col6", 150, HorizontalAlignment.Left)
Expand|Select|Wrap|Line Numbers
- Dim SelectedOptions As ListView.SelectedListViewItemCollection = lstBrowse.SelectedItems
- Dim Item As ListViewItem = Me.lstBrowse.SelectedItems(0)
I want to know how to get the selected subitem because I will fire different procedures for every subitem clicked in a item.
I will appreciate if anybody can show me, how to do that...
Thanks in advance,