wpflistviewselecteditem

WPF ListView Show selected item


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


Solution

  • Check out this one:
    Scroll WPF Listview to specific line