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