Exemplo n.º 1
0
        public void SelectAll()
        {
            //検索していなくても、全選択は有効にしたほうが良いかも
            //→やらない。開いて確認してもらう

            this.IsSelected = false;

            Childs.AsParallel().ForAll(f => f.IsSelected = true);

            IsExpanded = true;
        }
Exemplo n.º 2
0
 public void DeselectAll()
 {
     Childs.AsParallel().ForAll(f => f.IsSelected = false);
     //Childs.AsParallel().ForAll(f => f.DeselectAll());
     //孫も含めて全部やる?
 }