Reputation: 26919
Ok I am saying lsvAvailable.Items[index].Selected = true; and HideSelection is false so it shows the gray back color on the selected item, which is what I want .. but if the found item is somewhere down the list so I need scrolling to SEE it. it does Not JUMP to that item...and still I need to ba able to continue typing ( let's say I am typing in a text box like a search box and it is showing the item in the listView)
Upvotes: 3
Views: 649
Reputation: 57823
Call the ListViewItem.EnsureVisible method:
lsvAvailable.Items[index].EnsureVisible();
Upvotes: 4