Arjun Panwar

Arjun Panwar

  • NA
  • 10.6k
  • 5.9m

Windows 8 ListView SelectedIndex

Apr 3 2012 1:44 AM
Hi,
I have a Windows 8 Metro app created in XAML, C# from the template. I need to navigate to the SplitPage and have an article selected. By default, the first article is selected (in the ListView and content shown on the right).

I need to force the SplitPage to select and show the n-th article. When I use this.itemsViewSource.View.MoveCurrentToPosition(n) the desired item in the ListView is selected and data shown, but the ListBox does not scroll to this n-th item.


Thanks