Does anyone know how to get the imageindex of a listview item? I can get if I dim a variable and put it inside a For Each loop. I don't want it to run through a loop since I already know which item is selected.
Here's what I'm trying to do. It doesn't work.
Here's what I'm trying to do. It doesn't work.
Visual Basic:
Dim ListItem As ListViewItem
If Button.MouseButtons = Windows.Forms.MouseButtons.Right And ListItem.ImageIndex = 5 Then