private void CheckBoxIsSelected(object IsChecked)
        {
            if (SelectedItem == null)
            {
                return;
            }
            if (CellInfo.Item.ToString().Contains("NewItemPlaceholder"))
            {
                return;
            }

            bool chk = (bool)IsChecked;

            if (chk)
            {
                CountChecked.Add(chk);
            }
            else
            {
                if (CountChecked.Where(x => x == true).Count() > 0)
                {
                    CountChecked.Remove(true);
                }
            }

            _PrintLblCommand.RaiseCanExecuteChanged();

            RaisePropertyChanged("CollectionView");
        }
Exemple #2
0
        private void CheckBoxIsSelected(object IsChecked)
        {
            bool chk = (bool)IsChecked;

            if (chk)
            {
                CountChecked.Add(chk);
            }
            else
            {
                if (CountChecked.Where(x => x == true).Count() > 0)
                {
                    CountChecked.Remove(true);
                }
            }

            RaisePropertyChanged("GoodReceives");

            _PrintLblCommand.RaiseCanExecuteChanged();
            _DeleteFGCommand.RaiseCanExecuteChanged();
        }