public override bool Next() { if (!ExistList.Any(x => x.IsChecked && x.IsSupport)) { _mainViewModel.ShowMessage("Please select any supported list types."); return(false); } GetSupportedLists.Clear(); foreach (var spList in ExistList.Where(x => x.IsSupport && x.IsChecked)) { foreach (Column column in spList.Columns) { column.IsChecked = false; } GetSupportedLists.Add(spList); } this.BindColumns(); return(base.Next()); }
public override bool Prev() { GetSupportedLists.Clear(); ExistList.Clear(); return(base.Prev()); }