Example #1
0
        private void ExpandParent(PathItemViewModel pathItemViewModel)
        {
            if (pathItemViewModel.Parent == null)
            {
                return;
            }

            pathItemViewModel.Parent.IsExpanded = true;
            ExpandParent(pathItemViewModel.Parent);
        }
Example #2
0
        private void ExpandParent(PathItemViewModel pathItemViewModel)
        {
            if (pathItemViewModel.Parent == null)
            {
                return;
            }

            pathItemViewModel.Parent.IsExpanded = true;
            ExpandParent(pathItemViewModel.Parent);
        }
Example #3
0
 public void AddChild(PathItemViewModel pathItemViewModel)
 {
     pathItemViewModel.Parent = this;
     Children.Add(pathItemViewModel);
     ExpandParent(pathItemViewModel);
 }
Example #4
0
 public void AddChild(PathItemViewModel pathItemViewModel)
 {
     pathItemViewModel.Parent = this;
     Children.Add(pathItemViewModel);
     ExpandParent(pathItemViewModel);
 }