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

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

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