ListView [VirtualMode] change selected index
VirtualMode = true
MultiSelect = false
I can get selected index item, but how change it?
SelectedIndices
is reado开发者_StackOverflow社区nly.
Not sure if you've found a solution, but I was having the same problem and just came up with this:
listView1.SelectedIndices.Clear();
listView1.SelectedIndices.Add(indexToSelect);
精彩评论