public void deleteStep(ObservableCollection <CameraCommandEditWrapper> list) { if (selectedIndex >= 0 && selectedIndex < list.Count) { CommandWrapperList.RemoveAt(selectedIndex); } }
public void addStep(ObservableCollection <CameraCommandEditWrapper> list) { CameraCommandEditWrapper item = new CameraCommandEditWrapper(camStringList, presetStringList); CommandWrapperList.Add(item); }