public void Initialize() { ItemTreeView.TreeView.Items.Clear(); var items = new List <BaseTreeViewItem>(); GetChildrenPipeline.Run().WithParameters(items, null, null); foreach (var baseTreeViewItem in items) { ItemTreeView.TreeView.Items.Add(baseTreeViewItem); } UpdateScopeButtons(); UpdateScope(); }
public void ScopeHome() { var treeView = CreateTreeView(); var items = new List <BaseTreeViewItem>(); GetChildrenPipeline.Run().WithParameters(items, null, null); foreach (var baseTreeViewItem in items) { treeView.Items.Add(baseTreeViewItem); } Content = treeView; TreeView = treeView; _scopes.Push(new ScopeDescriptor(treeView, null)); RaiseScopeChanged(); }
protected override void GetVirtualChildren(ICollection <BaseTreeViewItem> items) { Debug.ArgumentNotNull(items, nameof(items)); GetChildrenPipeline.Run().WithParameters(items, this, Folder); }
protected virtual void GetVirtualChildren([NotNull] ICollection <BaseTreeViewItem> items) { Debug.ArgumentNotNull(items, nameof(items)); GetChildrenPipeline.Run().WithParameters(items, this, null); }