Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 4
0
        protected virtual void GetVirtualChildren([NotNull] ICollection <BaseTreeViewItem> items)
        {
            Debug.ArgumentNotNull(items, nameof(items));

            GetChildrenPipeline.Run().WithParameters(items, this, null);
        }