private void MoveUp_Click(object sender, RoutedEventArgs e) { if (Combatants.Count < 2) { return; } if (CombatantList.SelectedIndex < 1) { return; } Combatants = (ObservableCollection <DD4ECombatant>)Combatants.MoveUp(CombatantList.SelectedIndex); }