private void ListBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (LB.SelectedItem != null) { LB.ScrollIntoView(LB.SelectedItem); } }
private void LB_SelectionChanged(object sender, SelectionChangedEventArgs e) { LB.ScrollIntoView(LB.SelectedItem); }