Example #1
0
        protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren)
        {
            _parent = parent;

            _children = new ObservableCollection <TreeViewItemViewModel>();

            if (lazyLoadChildren)
            {
                _children.Add(DummyChild);
            }
        }
Example #2
0
 public UI_RNode(IApplicationData data, IRNode currentItem, TreeViewItemViewModel parent) : base(parent, true)
 {
     _thisItem = currentItem;
     _data     = data;
 }