1 type derived from TreeViewItemViewModel
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
650internal class TreeViewItemViewModel<T> : TreeViewItemViewModel
1 instantiation of TreeViewItemViewModel
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
26internal static TreeViewItemViewModel DummyNode = new TreeViewItemViewModel();
68 references to TreeViewItemViewModel
System.Data (68)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\ChangeNotificationTracker.cs (5)
19public List<TreeViewItemViewModel> ChildViewModels { get; set; } 21public TreeViewItemViewModel Parent { get; private set; } 63public ChangeNotificationTracker(TreeViewItemViewModel parent, ModelProperty parentProperty) 77this.ChildViewModels = new List<TreeViewItemViewModel>(); 126foreach (TreeViewItemViewModel child in ChildViewModels)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (4)
19internal static TreeViewItemViewModel Expand(TreeViewItemModelItemViewModel rootTreeViewItem, ModelItem modelItemToExpandTo) 31TreeViewItemViewModel itemToBeSelected = null; 42TreeViewItemViewModel treeViewItem = rootTreeViewItem; 43TreeViewItemViewModel tempTreeViewItem = rootTreeViewItem;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeView.xaml.cs (1)
58TreeViewItemViewModel itemToBeSelected = DesignerTreeAutoExpandHelper.Expand(this.rootModelItemViewModel, selection.PrimarySelection);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeViewItem.cs (7)
45TreeViewItemViewModel viewModel = this.Header as TreeViewItemViewModel; 68TreeViewItemViewModel source = newHeader as TreeViewItemViewModel; 87TreeViewItemViewModel viewModel = this.Header as TreeViewItemViewModel; 153private void HighlightTreeViewItemAndClearSelectionOnDesigner(TreeViewItemViewModel viewModel)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemKeyValuePairModelItemViewModel.cs (4)
17public TreeViewItemKeyValuePairModelItemViewModel(TreeViewItemViewModel parent, KeyValuePair<ModelItem, ModelItem> value) : base(parent) 24this.InternalChildren.Add(TreeViewItemViewModel.DummyNode); 40this.AddChild(TreeViewItemViewModel.CreateViewModel(this, this.Value.Value), tracker.ParentProperty); 60this.AddChild(TreeViewItemViewModel.CreateViewModel(this, this.Value.Value), tracker.ParentProperty);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (10)
27public TreeViewItemModelItemViewModel(TreeViewItemViewModel parent, ModelItem modelItem, bool lazyLoad) 59this.InternalChildren.Add(TreeViewItemViewModel.DummyNode); 68public TreeViewItemModelItemViewModel(TreeViewItemViewModel parent, ModelItem modelItem) 122TreeViewItemViewModel.AddModelItem(this, this.Value, null); 160bool isPromotedPropertyChanged = TreeViewItemViewModel.IsPromotedProperty(modelProperty.Value, changedPropertyName); 179TreeViewItemViewModel.AddModelProperty(this, this.Value, tracker.ParentProperty, tracker.ParentProperty); 319TreeViewItemViewModel viewModel = this.Parent; 347if (icon == null && !TreeViewItemViewModel.IconCache.TryGetValue(modelItemType, out icon)) 385TreeViewItemViewModel.IconCache.Add(modelItemType, icon); 400foreach (TreeViewItemViewModel viewModel in Children)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelPropertyViewModel.cs (5)
17public TreeViewItemModelPropertyViewModel(TreeViewItemViewModel parent, ModelProperty property) 31this.InternalChildren.Add(TreeViewItemViewModel.DummyNode); 85TreeViewItemViewModel.AddModelItemCollection(this, mc, this.Value); 90TreeViewItemViewModel.AddModelItemDictionary(this, dictionary, this.Value); 94TreeViewItemViewModel.AddChild(this, this.Value.Value, this.Value.Value, this.DuplicatedNodeVisible, string.Empty, this.Value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (32)
26internal static TreeViewItemViewModel DummyNode = new TreeViewItemViewModel(); 36InternalChildren = new ObservableCollection<TreeViewItemViewModel>(); 38Children = new ReadOnlyObservableCollection<TreeViewItemViewModel>(InternalChildren); 45internal ObservableCollection<TreeViewItemViewModel> InternalChildren { get; private set; } 47public ReadOnlyObservableCollection<TreeViewItemViewModel> Children { get; private set; } 142public TreeViewItemViewModel Parent { get; set; } 183foreach (TreeViewItemViewModel child in InternalChildren) 198internal virtual void AddChild(TreeViewItemViewModel child, ModelProperty modelProperty) 236internal static TreeViewItemViewModel CreateViewModel(TreeViewItemViewModel parent, object value) 238TreeViewItemViewModel viewModel = null; 254internal static void AddModelItem(TreeViewItemViewModel parent, ModelItem item, ModelProperty trackingProperty) 271internal static void AddModelItemCollection(TreeViewItemViewModel parent, ModelItemCollection collection, ModelProperty trackingProperty) 290internal static void AddModelItemDictionary(TreeViewItemViewModel parent, ModelItemDictionary dictionary, ModelProperty trackingProperty) 311internal static void AddModelProperty(TreeViewItemViewModel parent, ModelItem item, ModelProperty trackingProperty, ModelProperty property) 352TreeViewItemViewModel childModel = TreeViewItemViewModel.CreateViewModel(parent, property); 378TreeViewItemViewModel childModel = TreeViewItemViewModel.CreateViewModel(parent, property.Value); 395TreeViewItemViewModel siblingNode = null; 398siblingNode = TreeViewItemViewModel.CreateViewModel(parent.Parent, property.Value); 409parent.AddChild(TreeViewItemViewModel.CreateViewModel(parent, property), trackingProperty); 429parent.AddChild(TreeViewItemViewModel.CreateViewModel(parent, property), trackingProperty); 447parent.AddChild(TreeViewItemViewModel.CreateViewModel(parent, property), trackingProperty); 473internal static void AddChild(TreeViewItemViewModel parent, ModelItem item, object value, bool duplicatedNodeVisible, string childNodePrefix, ModelProperty trackingProperty) 511TreeViewItemViewModel child = TreeViewItemViewModel.CreateViewModel(parent, value); 544internal ChangeNotificationTracker GetTracker(TreeViewItemViewModel child) 570internal ModelProperty GetTrackingModelPropertyForChild(TreeViewItemViewModel child) 592foreach (TreeViewItemViewModel item in e.OldItems) 634foreach (TreeViewItemViewModel child in InternalChildren) 672public TreeViewItemViewModel(TreeViewItemViewModel parent)