1 override of Parent
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (1)
152
public override ModelItem
Parent
62 references to Parent
System.Data (62)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (3)
149
if (property.
Parent
.ItemType.IsGenericType)
151
Type genericType = property.
Parent
.ItemType.GetGenericTypeDefinition();
157
TypeConverter converter = new ModelTypeConverter(((IModelTreeItem)property.
Parent
).ModelTreeManager, propertyDescriptor.Converter);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (9)
432
property.
Parent
.PropertyChanged += new PropertyChangedEventHandler(OnUnderlyingPropertyChanged);
441
property.
Parent
.PropertyChanged -= new PropertyChangedEventHandler(OnUnderlyingPropertyChanged);
450
property.
Parent
.PropertyChanged -= new PropertyChangedEventHandler(OnUnderlyingPropertyChanged);
520
if (typeof(System.Windows.Controls.TextBlock).IsAssignableFrom(_properties[0].
Parent
.ItemType)) {
526
using (ModelEditingScope group = _properties[0].
Parent
.BeginEdit(
554
ModelProperty inlinesProperty = textBlockTextProperty.
Parent
.Properties[_textBlockInlinesPropertyName];
589
using (ModelEditingScope group = _properties[0].
Parent
.BeginEdit(
663
return description == null ? FirstModelProperty.
Parent
.BeginEdit() : FirstModelProperty.
Parent
.BeginEdit(description);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
76
if (resolveReferences && !(typeof(System.Windows.Controls.TextBlock).IsAssignableFrom(property.
Parent
.ItemType) &&
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelProperty.cs (7)
195
return (first.
Parent
== second.
Parent
&& first.Name.Equals(second.Name));
206
return (first.
Parent
!= second.
Parent
|| !first.Name.Equals(second.Name));
219
if (prop.
Parent
!=
Parent
) return false;
228
return
Parent
.GetHashCode() ^ Name.GetHashCode();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToOwnerActivityConverter.cs (1)
38
convertedValue = property.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (6)
192
select source.
Parent
);
197
select source.
Parent
);
413
ModelProperty foundProperty = this.sources.Find((modelProperty) => modelProperty.Name.Equals(property.Name) && property.
Parent
== modelProperty.
Parent
);
678
((IModelTreeItem)this).RemoveSource(oldModelProperty.
Parent
, oldModelProperty.Name);
685
ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.
Parent
== parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (6)
363
select source.
Parent
);
368
select source.
Parent
);
587
ModelProperty foundProperty = this.sources.Find((modelProperty) => modelProperty.Name.Equals(property.Name) && property.
Parent
== modelProperty.
Parent
);
633
((IModelTreeItem)this).RemoveSource(oldModelProperty.
Parent
, oldModelProperty.Name);
640
ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.
Parent
== parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
322
modelItem = modelItem.Source.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (6)
186
select source.
Parent
);
191
select source.
Parent
);
319
modelProperty.Name.Equals(property.Name) && property.
Parent
== modelProperty.
Parent
);
439
((IModelTreeItem)this).RemoveSource(oldModelProperty.
Parent
, oldModelProperty.Name);
446
ModelProperty foundProperty = this.sources.FirstOrDefault<ModelProperty>((modelProperty) => modelProperty.Name.Equals(propertyName) && modelProperty.
Parent
== parent);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (3)
40
IModelTreeItem propertyParent = this.itemProperty.
Parent
as IModelTreeItem;
57
get { return this.itemProperty.
Parent
.ItemType; }
139
return modelProp.PropertyDescriptor.ShouldSerializeValue(this.itemProperty.
Parent
.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
1049
backPointers.Add(new BackPointer(property.Name, vertex, property.
Parent
));
1127
if (p.
Parent
== from && p.Name == edge.PropertyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ModelPropertyPathExpanderConverter.cs (1)
31
ModelItem convertedValue = property.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeAutoExpandHelper.cs (1)
107
if (GetExpandingPath(property.
Parent
, pathStack, itemSet))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (1)
234
if (this.VisualValue == modelProperty.
Parent
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelPropertyViewModel.cs (5)
23
if (property != null && property.
Parent
!= null)
41
tracker.Add(modelProperty.
Parent
, modelProperty);
46
tracker.Add(promotedProperty.
Parent
, promotedProperty);
116
if (this.Value != null && this.Value.
Parent
!= null)
118
return this.Value.
Parent
.GetEditingContext();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\UniqueModelItemHelper.cs (9)
30
if (null != property && null != property.
Parent
&& null != property.Value)
32
ModelItem target = property.
Parent
;
58
if (null != source.
Parent
&& !visited.Contains(source.
Parent
))
60
visited.Add(source.
Parent
);
151
if (null != source.
Parent
)
155
queue.Enqueue(source.
Parent
);
158
if (nonSources.ContainsKey(source.
Parent
))
160
--nonSources[source.
Parent
];