protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren)
        {
            _parent = parent;

            _children = new ObservableCollection<TreeViewItemViewModel>();

            if (lazyLoadChildren)
                _children.Add(DummyChild);
        }
        protected TreeViewItemViewModel(TreeViewItemViewModel parent, bool lazyLoadChildren)
        {
            _parent = parent;

            _children = new ObservableCollection <TreeViewItemViewModel>();

            if (lazyLoadChildren)
            {
                _children.Add(DummyChild);
            }
        }
 public ProjectDirectoryViewModel(IProjectItem item, TreeViewItemViewModel parent) : base(item, parent)
 {
 }
示例#4
0
 public ProjectItemViewModel(IProjectItem item, TreeViewItemViewModel parent)
     : base(parent, true)
 {
     _item = item;
 }
 public ProjectDirectoryViewModel(IProjectItem item, TreeViewItemViewModel parent)
     : base(item, parent)
 {
 }
示例#6
0
 public ProjectFileViewModel(IProjectItem item, TreeViewItemViewModel parent)
     : base(item, parent)
 {
 }
示例#7
0
 public ProjectItemViewModel(IProjectItem item, TreeViewItemViewModel parent)
     : base(parent, true)
 {
     _item = item;
 }
示例#8
0
 public ProjectFileViewModel(IProjectItem item, TreeViewItemViewModel parent) : base(item, parent)
 {
 }