by Christof
2. November 2009 23:12
If you selected an item in ListView control within your code, Not always the item will be visible to the user.
This sample code will show you, how it works:
Dim index as integer ' the scrollindex in the Listview
listView1.Items(index).Selected = true
listView1.Items(index).Focused = true
listView.TopItem = listView1.Items(index)
It works also with the Fancylistview from the Windows Home Server
a18321a8-864e-4414-be75-afa3bf9bd4e8|2|4.5
Tags: .net
.net