65 references to GetParent
PresentationFramework (58)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
247
parent = LogicalTreeHelper.
GetParent
(current);
MS\Internal\Controls\InnerItemCollectionView.cs (1)
713
if (LogicalTreeHelper.
GetParent
(node) != null)
MS\Internal\Data\ObjectRef.cs (3)
182
DependencyObject parent = LogicalTreeHelper.
GetParent
(d);
232
ContentControl cc = LogicalTreeHelper.
GetParent
(fo.DO) as ContentControl;
248
parent = LogicalTreeHelper.
GetParent
(dd);
MS\Internal\Documents\ContentElementCollection.cs (1)
727
node = LogicalTreeHelper.
GetParent
(node);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
323
child = LogicalTreeHelper.
GetParent
(child);
MS\Internal\Documents\TableColumnCollectionInternal.cs (1)
142
if (LogicalTreeHelper.
GetParent
(item.Parent) != Owner)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
264
if (LogicalTreeHelper.
GetParent
(item.Parent) != Owner)
MS\Internal\Helper.cs (1)
1451
parent = LogicalTreeHelper.
GetParent
(element);
MS\Internal\PtsHost\RunClient.cs (1)
41
_inlineUIContainer = (InlineUIContainer)LogicalTreeHelper.
GetParent
(element);
MS\Internal\Text\DynamicPropertyReader.cs (2)
70
DependencyObject parent = LogicalTreeHelper.
GetParent
(element);
294
return GetBaselineAlignment(LogicalTreeHelper.
GetParent
(element));
System\Windows\Controls\ContentControl.cs (2)
75
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
273
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
System\Windows\Controls\FlowDocumentReader.cs (2)
998
focusedElement = LogicalTreeHelper.
GetParent
(focusedElement);
1021
if (TemplatedParent != null && newDocument != null && LogicalTreeHelper.
GetParent
(newDocument) != null)
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
804
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
811
LogicalTreeHelper.
GetParent
(document), route, args, LogicalTreeHelper.
GetParent
(branchNode));
822
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
827
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.
GetParent
(document), LogicalTreeHelper.
GetParent
(branchNode));
1146
child = LogicalTreeHelper.
GetParent
(child);
1222
if (newDocument != null && LogicalTreeHelper.
GetParent
(newDocument) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
954
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
System\Windows\Controls\ItemsControl.cs (2)
1164
ItemsControl ic = LogicalTreeHelper.
GetParent
(ui) as ItemsControl;
1454
DependencyObject parent = LogicalTreeHelper.
GetParent
(container);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1158
child = LogicalTreeHelper.
GetParent
(child);
1342
if (doDocument != null && LogicalTreeHelper.
GetParent
(doDocument) != null && doDocument is ContentElement)
System\Windows\Controls\Primitives\Popup.cs (2)
893
if ((currentParent = LogicalTreeHelper.
GetParent
(child)) != null)
968
object logicalParent = LogicalTreeHelper.
GetParent
(element);
System\Windows\Controls\SinglePageViewer.cs (6)
782
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
789
LogicalTreeHelper.
GetParent
(document), route, args, LogicalTreeHelper.
GetParent
(branchNode));
800
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
805
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.
GetParent
(document), LogicalTreeHelper.
GetParent
(branchNode));
System\Windows\Controls\TextAdaptor.cs (1)
604
DependencyObject parent = LogicalTreeHelper.
GetParent
(childElement);
System\Windows\Documents\FixedDocument.cs (1)
472
el = LogicalTreeHelper.
GetParent
(el);
System\Windows\Documents\FixedPage.cs (5)
569
PageContent pc = LogicalTreeHelper.
GetParent
(this) as PageContent;
573
FixedDocument doc = LogicalTreeHelper.
GetParent
(pc) as FixedDocument;
1009
DependencyObject parent = LogicalTreeHelper.
GetParent
(e);
1079
DependencyObject parent = LogicalTreeHelper.
GetParent
(current);
1106
parent = LogicalTreeHelper.
GetParent
(parent);
System\Windows\Documents\FlowDocument.cs (1)
908
parentOfEmbeddedElement = LogicalTreeHelper.
GetParent
((DependencyObject)element);
System\Windows\Documents\RangeContentEnumerator.cs (1)
345
node = LogicalTreeHelper.
GetParent
(node);
System\windows\Documents\TextSelection.cs (1)
2577
parent = LogicalTreeHelper.
GetParent
(element);
System\Windows\FrameworkContentElement.cs (3)
1339
FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.
GetParent
(branchNode));
1386
child = LogicalTreeHelper.
GetParent
(child);
1404
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.
GetParent
(branchNode));
System\Windows\FrameworkElement.cs (6)
1768
DependencyObject parent = LogicalTreeHelper.
GetParent
(d);
2922
FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.
GetParent
(branchNode));
3116
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.
GetParent
(branchNode));
3166
modelTreeNode = LogicalTreeHelper.
GetParent
(modelTreeNode);
6106
modelTreeNode = LogicalTreeHelper.
GetParent
(modelTreeNode);
6120
child = LogicalTreeHelper.
GetParent
(child);
System\Windows\TreeWalkHelper.cs (1)
1012
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Generated\TreeHelper.cs (3)
27
return LogicalTreeHelper.
GetParent
(ce);
46
parent = LogicalTreeHelper.
GetParent
(element);
119
element = LogicalTreeHelper.
GetParent
(element);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1316
RibbonComboBox comboBoxParent = LogicalTreeHelper.
GetParent
(this) as RibbonComboBox;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
153
popup = LogicalTreeHelper.
GetParent
(rootVisual) as Popup;
2589
parent = LogicalTreeHelper.
GetParent
(ce);
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
302
Popup popupParent = LogicalTreeHelper.
GetParent
(element) as Popup;