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

            _children = new ObservableCollection <TreeViewMVItem>();

            if (lazyLoadChildren)
            {
                _children.Add(DummyChild);
            }
        }
Example #2
0
 public OUViewModel(OU ou, TreeViewMVItem parentItem)
     : base(parentItem, true)
 {
     _ou = ou;
 }