Warm tip: This article is reproduced from stackoverflow.com, please click
listview wpf selecteditem

WPF ListView Show selected item

发布于 2020-03-28 23:15:26

I want to show the selected item in a list view automatically(it isn't possible to show all items without scrolling).

this.listView.SelectedIndex = 999; selects of course an item, but it doesn't show it.

what can I use to show it automatically ?

kind regards, jeff

Questioner
Jeffrey
Viewed
110
2017-05-23 20:17