Exemplo n.º 1
0
        private void ItemChecked(ListItemWrapper w)
        {
            w.IsSelected = !w.IsSelected;

            // (Konrad) Let's update the ItemsCollection because otherwise when output is generated
            // the last item selected will be missing.
            ItemsCollection.ForEach(x =>
            {
                if (x.Index == w.Index)
                {
                    x.IsSelected = !w.IsSelected;
                }
            });

            OnNodeModified(true);
        }