public XmlNodeVM(ExplorerTreeNodeVM parent, string name, string category, string path, string xmlContent, string description) : base(parent, name, LoadChildenStrategy.Manual) { _category = category; _path = path; this.DefaultCommand = new RelayCommand(this.ViewXmlContent); this.XmlContent = xmlContent; _description = description; }
public void AddChild(ExplorerTreeNodeVM child) { this.InternalChildren.Add(child); }
public VirtualFolderVM(ExplorerTreeNodeVM parent, string name) : base(parent, name, LoadChildenStrategy.Manual) { this.UpdateIconSource(); }
public ExplorerTreeNodeVM(ExplorerTreeNodeVM parent, string name, LoadChildenStrategy loadChildrenStrategy) : base(parent, name, loadChildrenStrategy) { _lazyContextMenu = new Lazy <ContextMenuVM>(this.CreateContextMenu); }