kstanoev
4/22/2015 - 12:14 PM

A code snippet that demonstrates how to bring a ListView item into view.

A code snippet that demonstrates how to bring a ListView item into view.

protected override void OnNavigatedTo(NavigationEventArgs e)
{
	this.listView.ItemsSource = this.getPeople();  
}

private void BringIntoViewButton_Tapped(object sender, TappedRoutedEventArgs e)
{
	this.listView.ScrollItemIntoView(personOfInterest);
}