3 overrides of Parent
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
137
public override ModelItem
Parent
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
298
public override ModelItem
Parent
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
129
public override ModelItem
Parent
88 references to Parent
System.Data (88)
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
238
itr = itr.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (2)
654
parent = item.
Parent
;
656
else if (parent != item.
Parent
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToOwnerActivityConverter.cs (1)
49
convertedValue = convertedValue.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (2)
363
ModelItem argumentModelItem = expressionModelItem.
Parent
;
364
ModelItem parentObject = argumentModelItem.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (1)
32
Getter = (modelItem) => modelItem.
Parent
== null ? null : GetTypeArgument(modelItem),
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (16)
49
item = item.
Parent
;
52
item = item.
Parent
;
292
if (modelItem.
Parent
== null && modelItem.Root != modelItem)
308
if (modelItem.
Parent
is ModelItemCollection)
310
sb.Insert(0, "[" + ((ModelItemCollection)modelItem.
Parent
).IndexOf(modelItem).ToString(CultureInfo.InvariantCulture) + "]");
318
if (modelItem.
Parent
is ModelItemDictionary)
332
modelItem = modelItem.
Parent
;
443
while (null != item.
Parent
)
445
if (null != continueEnumerationPredicate && !continueEnumerationPredicate(item.
Parent
))
449
yield return item.
Parent
;
450
item = item.
Parent
;
584
ModelItem parent = item.
Parent
;
588
parent = parent.
Parent
;
679
while (currentItem.
Parent
!= null)
681
currentItem = currentItem.
Parent
;
1006
item = item.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
643
itemToFocus = entry.ModelItem.
Parent
.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (13)
20
if (modelItem.
Parent
!= null && //modelItem.Parent - ItemsCollection
21
modelItem.
Parent
.
Parent
!= null && //modelItem.Parent.Parent - Cases
22
modelItem.
Parent
.
Parent
.
Parent
!= null && //modelItem.Parent.Parent.Parent - Switch
23
modelItem.
Parent
.
Parent
.
Parent
.ItemType.IsGenericType &&
24
modelItem.
Parent
.
Parent
.
Parent
.ItemType.GetGenericTypeDefinition() == typeof(System.Activities.Statements.Switch<>))
114
current = current.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
900
ModelItem parent = modelItem.
Parent
;
915
parent = parent.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (4)
398
ModelItemCollection collection = (ModelItemCollection)arg.ReflectedObject.
Parent
;
1203
return this.ReflectedObject.
Parent
.
Parent
;
1299
ModelItemCollection argumentCollection = (ModelItemCollection)this.ReflectedObject.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
240
if (null != selection.ModelItem.
Parent
)
246
target = target.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (7)
507
ModelItem parent = newRoot.
Parent
;
519
parent = parent.
Parent
;
524
ModelItem parent = oldRoot.
Parent
;
532
parent = parent.
Parent
;
554
while (null == designerType && null != modelItem.
Parent
)
556
modelItem = modelItem.
Parent
;
592
modelItem = modelItem.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ModelPropertyPathExpanderConverter.cs (1)
39
convertedValue = convertedValue.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (26)
141
ModelItemCollection container = VariableHelper.GetVariableCollection(oldVariableWrapper.ReflectedObject.
Parent
.
Parent
);
230
if (!ModelItem.Equals(validScope, this.CurrentVariableScope.
Parent
))
407
this.Populate(null != this.CurrentVariableScope ? this.CurrentVariableScope.
Parent
: null);
455
if (!this.ScopesList.Contains((sender as ModelItem).
Parent
) || isUndoRedoInProgress)
477
ModelItemCollection collection = (ModelItemCollection)arg.ReflectedObject.
Parent
;
784
element = element.
Parent
;
814
workflowElement = workflowElement.
Parent
;
818
workflowElement = workflowElement.
Parent
;
849
element = element.
Parent
;
861
element = element.
Parent
;
884
element = element.
Parent
;
1192
ModelItem parent = this.ReflectedObject.
Parent
;
1196
parent = parent.
Parent
;
1219
ModelItemCollection variableContainer = (ModelItemCollection)this.ReflectedObject.
Parent
;
1266
ModelItemCollection currentScopeContainer = this.ReflectedObject.
Parent
.
Parent
.Properties["Variables"].Collection;
1279
return this.ReflectedObject.
Parent
.
Parent
;
1295
ModelItem s = this.ReflectedObject.
Parent
.
Parent
;
1398
if (!base.IsUndoRedoInProgress && null != this.ReflectedObject.
Parent
)
1414
bool duplicates = this.ReflectedObject.
Parent
.
Parent
.Properties["Variables"].Collection.Any(checkForDuplicates);
1498
currentEntry = currentEntry.
Parent
;
1514
entry = entry.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (4)
44
if (child.
Parent
== null)
50
ModelItem parent = ModelUtilities.ReverseFindFirst(child.
Parent
, (ModelItem current) =>
77
if (modelItem == null || modelItem.
Parent
== null)
84
return ModelUtilities.ReverseFindFirst(modelItem.
Parent
, (ModelItem current) =>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1994
currentItem = currentItem.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
667
parentModelItem = parentModelItem.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
732
parentModelItem = parentModelItem.
Parent
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
740
if (this.ModelItem != null && this.ModelItem != this.ModelItem.Root && this.ModelItem.
Parent
== null)