private void Button2_Click(object sender, RoutedEventArgs e) { if (!(aView.CurrentPosition == myNames.Count - 1)) { aView.MoveCurrentToNext(); } }
private void btnNext_Click(object sender, RoutedEventArgs e) { System.ComponentModel.ICollectionView navigationView = CollectionViewSource.GetDefaultView(phoneNumbersDataSet.PhoneNumbers); navigationView.MoveCurrentToNext(); }