3 implementations of IModelTreeItem
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
21class ModelItemCollectionImpl : ModelItemCollection, IModelTreeItem
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
21internal class ModelItemDictionaryImpl : ModelItemDictionary, IModelTreeItem, ICustomTypeDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
25class ModelItemImpl : ModelItem, IModelTreeItem, ICustomTypeDescriptor, IDynamicMetaObjectProvider
99 references to IModelTreeItem
System.Data (99)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
157TypeConverter converter = new ModelTypeConverter(((IModelTreeItem)property.Parent).ModelTreeManager, propertyDescriptor.Converter);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (6)
90this.Context = ((IModelTreeItem)reflectedObject).ModelTreeManager.Context; 91this.ModelTreeManager = ((IModelTreeItem)reflectedObject).ModelTreeManager; 451(this.Content as IModelTreeItem).OnPropertyChanged(propertyName); 474(this.Content as IModelTreeItem).OnPropertyChanged(propertyName); 699(instance.Content as IModelTreeItem).ModelTreeManager.AddToCurrentEditingScope(new FakeModelNotifyPropertyChange(instance.Content as IModelTreeItem, this.Name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
234return ((IModelTreeItem)droppedModelItem).ModelTreeManager.Context.Equals(context);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachablePropertyChange.cs (1)
42((IModelTreeItem)this.Owner).OnPropertyChanged(this.PropertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedProperty.cs (1)
67((IModelTreeItem)modelItem).OnPropertyChanged(this.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelItemImpl.cs (4)
38IModelTreeItem modelTreeItem = (IModelTreeItem)this; 44IModelTreeItem valueAsTreeItem = (IModelTreeItem)currentValue;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (10)
19IModelTreeItem parentModelTreeItem; 26this.parentModelTreeItem = (IModelTreeItem)parent; 82IModelTreeItem item = (IModelTreeItem)this.parentModelTreeItem.ModelPropertyStore[this.Name]; 127IModelTreeItem modelTreeItem = (IModelTreeItem)wrappedValue; 135IModelTreeItem modelTreeItem = (IModelTreeItem)existing; 150IModelTreeItem modelTreeItem; 153public FakeModelNotifyPropertyChange(IModelTreeItem modelTreeItem, string propertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (12)
242ModelItem IModelTreeItem.ModelItem 250Dictionary<string, ModelItem> IModelTreeItem.ModelPropertyStore 259ModelTreeManager IModelTreeItem.ModelTreeManager 377void IModelTreeItem.OnPropertyChanged(string propertyName) 385IEnumerable<ModelItem> IModelTreeItem.ItemBackPointers 390List<BackPointer> IModelTreeItem.ExtraPropertyBackPointers 395void IModelTreeItem.SetParent(ModelItem dataModelItem) 408void IModelTreeItem.SetSource(ModelProperty property) 657void IModelTreeItem.RemoveParent(ModelItem oldParent) 670void IModelTreeItem.RemoveSource(ModelProperty oldModelProperty) 678((IModelTreeItem)this).RemoveSource(oldModelProperty.Parent, oldModelProperty.Name); 682void IModelTreeItem.RemoveSource(ModelItem parent, string propertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (8)
569void IModelTreeItem.SetParent(ModelItem dataModelItem) 582void IModelTreeItem.SetSource(ModelProperty property) 602void IModelTreeItem.RemoveParent(ModelItem oldParent) 615IEnumerable<ModelItem> IModelTreeItem.ItemBackPointers 620List<BackPointer> IModelTreeItem.ExtraPropertyBackPointers 625void IModelTreeItem.RemoveSource(ModelProperty oldModelProperty) 633((IModelTreeItem)this).RemoveSource(oldModelProperty.Parent, oldModelProperty.Name); 637void IModelTreeItem.RemoveSource(ModelItem parent, string propertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
29IModelTreeItem modelTreeItem = modelItem as IModelTreeItem; 699IModelTreeItem modelTreeItem = itemToFocus as IModelTreeItem;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (2)
32Fx.Assert(modelItem is IModelTreeItem, "modelItem must implement IModelTreeItem"); 34return ((IModelTreeItem)modelItem).ModelTreeManager.CanCreateImmediateEditingScope();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (12)
238Dictionary<string, ModelItem> IModelTreeItem.ModelPropertyStore 246ModelTreeManager IModelTreeItem.ModelTreeManager 254void IModelTreeItem.SetCurrentView(DependencyObject view) 284void IModelTreeItem.OnPropertyChanged(string propertyName) 290void IModelTreeItem.SetParent(ModelItem dataModelItem) 303IEnumerable<ModelItem> IModelTreeItem.ItemBackPointers 308List<BackPointer> IModelTreeItem.ExtraPropertyBackPointers 313void IModelTreeItem.SetSource(ModelProperty property) 418void IModelTreeItem.RemoveParent(ModelItem oldParent) 431void IModelTreeItem.RemoveSource(ModelProperty oldModelProperty) 439((IModelTreeItem)this).RemoveSource(oldModelProperty.Parent, oldModelProperty.Name); 443void IModelTreeItem.RemoveSource(ModelItem parent, string propertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (2)
40IModelTreeItem propertyParent = this.itemProperty.Parent as IModelTreeItem;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (8)
77return new ModelTypeConverter(((IModelTreeItem)this.Parent).ModelTreeManager, propertyDescriptor.Converter); 172return ((IModelTreeItem)parent).ModelTreeManager.GetValue(this); 188((IModelTreeItem)parent).ModelTreeManager.ClearValue(this); 194return ((IModelTreeItem)parent).ModelTreeManager.SetValue(this, value); 220((IModelTreeItem)parent).ModelTreeManager.AddToCurrentEditingScope(change); 227IModelTreeItem parent = (IModelTreeItem)this.Parent; 245((IModelTreeItem)this.Parent).OnPropertyChanged(this.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (17)
224Fx.Assert(modelProperty.Parent is IModelTreeItem, "modelProperty.Parent should be an IModelTreeItem"); 564Fx.Assert(dataModelProperty.Parent is IModelTreeItem, "modelproperty.Parent should be an IModelTreeItem"); 565IModelTreeItem parent = (IModelTreeItem)dataModelProperty.Parent; 605Dictionary<string, ModelItem> modelPropertyStore = ((IModelTreeItem)modelProperty.Parent).ModelPropertyStore; 1000foreach (KeyValuePair<string, ModelItem> kvp in ((IModelTreeItem)vertex).ModelPropertyStore) 1042foreach (ModelItem parent in ((IModelTreeItem)vertex).ItemBackPointers) 1052foreach (BackPointer backPointer in ((IModelTreeItem)vertex).ExtraPropertyBackPointers) 1082((IModelTreeItem)edge.DestinationVertex).RemoveSource(modelProperty); 1088((IModelTreeItem)edge.DestinationVertex).RemoveSource(edge.SourceVertex, edge.PropertyName); 1094((IModelTreeItem)edge.DestinationVertex).RemoveParent(edge.SourceVertex); 1105((IModelTreeItem)edge.DestinationVertex).SetSource(modelProperty); 1109((IModelTreeItem)edge.DestinationVertex).ExtraPropertyBackPointers.Add(new BackPointer(edge.PropertyName, edge.DestinationVertex, edge.SourceVertex)); 1115((IModelTreeItem)edge.DestinationVertex).SetParent(edge.SourceVertex); 1133foreach (BackPointer bp in ((IModelTreeItem)edge.DestinationVertex).ExtraPropertyBackPointers) 1146return ((IModelTreeItem)edge.DestinationVertex).ItemBackPointers.Contains(from); 1154return ((IModelTreeItem)backPointer.DestinationVertex).ModelPropertyStore[backPointer.PropertyName] == backPointer.SourceVertex;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
39internal static TypeConverter GetConverter(IModelTreeItem item)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (1)
31EditingContext ctx = ((IModelTreeItem)item).ModelTreeManager.Context;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
2014ModelTreeManager treeManager = ((IModelTreeItem)modelItem).ModelTreeManager;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (2)
65((IModelTreeItem)modelItem).SetCurrentView(viewElement); 109((IModelTreeItem)modelItem).SetCurrentView(errorElement);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
367IModelTreeItem modelTreeItem = this.Item as IModelTreeItem;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
167IModelTreeItem modelTreeItem = this.Items as IModelTreeItem;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
158((IModelTreeItem)this.ModelItem).SetCurrentView(this);