Mr. Ed
Mr. Ed
CC#
Created by R1nge on 1/5/2024 in #help
Get index of a selected item in a list view
I'm not sure, but I think you need to get the index from The ListView, not the Scrollviewer. If you were using a ListView > GridView, you'd get the index from the GridView. Try reading this: https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.listview.selecteditems?view=windowsdesktop-8.0
2 replies