private void MyListBox_MouseWheel(object sender, MouseWheelEventArgs e) { if (MyListBox.Items.Count == 0) { return; } int id = MyListBox.SelectedIndex; if (e.Delta < 0 && MyListBox.Items.Count > id) { MyListBox.SelectedIndex++; } else if (e.Delta > 0 && id > 0) { MyListBox.SelectedIndex--; } else { MyListBox.SelectedIndex = 0; } MyListBox.ScrollIntoView(MyListBox.Items[MyListBox.SelectedIndex]); }