Esempio n. 1
0
 public void SelectPreviousSearchResult()
 {
     if (SearchResultsListView.SelectedIndex > 0)
     {
         SearchResultsListView.SelectedIndex--;
         SearchResultsListView.ScrollIntoView(SelectedItem);
     }
 }
Esempio n. 2
0
 public void SelectNextSearchResult()
 {
     if (SearchResultsListView.SelectedIndex + 1 < SearchResultsListView.Items.Count)
     {
         SearchResultsListView.SelectedIndex++;
         SearchResultsListView.ScrollIntoView(SearchResultsListView.SelectedItem);
     }
 }