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