65 references to GetParent
PresentationFramework (58)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
236
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)
806
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
813
LogicalTreeHelper.
GetParent
(document), route, args, LogicalTreeHelper.
GetParent
(branchNode));
824
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
829
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.
GetParent
(document), LogicalTreeHelper.
GetParent
(branchNode));
1150
child = LogicalTreeHelper.
GetParent
(child);
1226
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)
1149
child = LogicalTreeHelper.
GetParent
(child);
1332
if (doDocument != null && LogicalTreeHelper.
GetParent
(doDocument) != null && doDocument is ContentElement)
System\Windows\Controls\Primitives\Popup.cs (2)
889
if ((currentParent = LogicalTreeHelper.
GetParent
(child)) != null)
982
object logicalParent = LogicalTreeHelper.
GetParent
(element);
System\Windows\Controls\SinglePageViewer.cs (6)
784
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
791
LogicalTreeHelper.
GetParent
(document), route, args, LogicalTreeHelper.
GetParent
(branchNode));
802
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
807
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)
571
PageContent pc = LogicalTreeHelper.
GetParent
(this) as PageContent;
575
FixedDocument doc = LogicalTreeHelper.
GetParent
(pc) as FixedDocument;
1011
DependencyObject parent = LogicalTreeHelper.
GetParent
(e);
1081
DependencyObject parent = LogicalTreeHelper.
GetParent
(current);
1108
parent = LogicalTreeHelper.
GetParent
(parent);
System\Windows\Documents\FlowDocument.cs (1)
908
parentOfEmbeddedElement = LogicalTreeHelper.
GetParent
((DependencyObject)element);
System\Windows\Documents\RangeContentEnumerator.cs (1)
339
node = LogicalTreeHelper.
GetParent
(node);
System\windows\Documents\TextSelection.cs (1)
2579
parent = LogicalTreeHelper.
GetParent
(element);
System\Windows\FrameworkContentElement.cs (3)
1334
FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.
GetParent
(branchNode));
1381
child = LogicalTreeHelper.
GetParent
(child);
1399
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.
GetParent
(branchNode));
System\Windows\FrameworkElement.cs (6)
1761
DependencyObject parent = LogicalTreeHelper.
GetParent
(d);
2917
FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.
GetParent
(branchNode));
3111
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.
GetParent
(branchNode));
3161
modelTreeNode = LogicalTreeHelper.
GetParent
(modelTreeNode);
6111
modelTreeNode = LogicalTreeHelper.
GetParent
(modelTreeNode);
6125
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)
1318
RibbonComboBox comboBoxParent = LogicalTreeHelper.
GetParent
(this) as RibbonComboBox;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
157
popup = LogicalTreeHelper.
GetParent
(rootVisual) as Popup;
2599
parent = LogicalTreeHelper.
GetParent
(ce);
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
302
Popup popupParent = LogicalTreeHelper.
GetParent
(element) as Popup;