For i As Integer = 1 To Me.ListView1.Items.Count
If i Mod 2 = 0 Then
Me.ListView1.Items(i - 1).BackColor = Color.PaleGreen
Else
Me.ListView1.Items(i - 1).BackColor = Color.White
End If
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.