private void SimulateLiveshaping(ShortHealthRecordViewModel hrvm) { using (preserveSelected.Enter(SelectedHealthRecords)) // fix selection after CommitEdit when view grouping { SetHrExtra(hrvm.ToEnumerable()); view.EditItem(hrvm); view.CommitEdit(); // logger.DebugFormat("commit {0}", hrvm); } }
public void UnselectExcept(ShortHealthRecordViewModel vm) { UnselectExcept(vm.ToEnumerable()); }