private void Reset(object obj)
 {
     ClubsSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked    = false);
     DiamondsSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked = false);
     HeartsSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked   = false);
     SpadesSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked   = false);
 }
Esempio n. 2
0
        private void ResetView()
        {
            IsOneCard     = false;
            IsSelectError = false;
            _selectedCards.Clear();

            ClubsSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked    = false);
            DiamondsSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked = false);
            HeartsSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked   = false);
            SpadesSource.Where(x => x.IsChecked).ToList().ForEach(x => x.IsChecked   = false);
        }