59 references to GetParent
PresentationFramework (58)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (1)
260parent = LogicalTreeHelper.GetParent(current);
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
717if (LogicalTreeHelper.GetParent(node) != null)
src\Framework\MS\Internal\Data\ObjectRef.cs (3)
192DependencyObject parent = LogicalTreeHelper.GetParent(d); 242ContentControl cc = LogicalTreeHelper.GetParent(fo.DO) as ContentControl; 258parent = LogicalTreeHelper.GetParent(dd);
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
750node = LogicalTreeHelper.GetParent(node);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
345child = LogicalTreeHelper.GetParent(child);
src\Framework\MS\Internal\Documents\TableColumnCollectionInternal.cs (1)
150if (LogicalTreeHelper.GetParent(item.Parent) != Owner)
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
274if (LogicalTreeHelper.GetParent(item.Parent) != Owner)
src\Framework\MS\Internal\Helper.cs (1)
1476parent = LogicalTreeHelper.GetParent(element);
src\Framework\MS\Internal\PtsHost\RunClient.cs (1)
47_inlineUIContainer = (InlineUIContainer)LogicalTreeHelper.GetParent(element);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
79DependencyObject parent = LogicalTreeHelper.GetParent(element); 303return GetBaselineAlignment(LogicalTreeHelper.GetParent(element));
src\Framework\System\Windows\Controls\ContentControl.cs (2)
80DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 278DependencyObject logicalParent = LogicalTreeHelper.GetParent(d);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
1009focusedElement = LogicalTreeHelper.GetParent(focusedElement); 1032if (TemplatedParent != null && newDocument != null && LogicalTreeHelper.GetParent(newDocument) != null)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
813if (document != null && LogicalTreeHelper.GetParent(document) != this) 820LogicalTreeHelper.GetParent(document), route, args, LogicalTreeHelper.GetParent(branchNode)); 831if (document != null && LogicalTreeHelper.GetParent(document) != this) 836continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.GetParent(document), LogicalTreeHelper.GetParent(branchNode)); 1157child = LogicalTreeHelper.GetParent(child); 1233if (newDocument != null && LogicalTreeHelper.GetParent(newDocument) != null)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
959DependencyObject logicalParent = LogicalTreeHelper.GetParent(d);
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
1176ItemsControl ic = LogicalTreeHelper.GetParent(ui) as ItemsControl; 1466DependencyObject parent = LogicalTreeHelper.GetParent(container);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1175child = LogicalTreeHelper.GetParent(child); 1359 if (doDocument != null && LogicalTreeHelper.GetParent(doDocument) != null && doDocument is ContentElement)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
904if ((currentParent = LogicalTreeHelper.GetParent(child)) != null) 979object logicalParent = LogicalTreeHelper.GetParent(element);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (6)
792if (document != null && LogicalTreeHelper.GetParent(document) != this) 799LogicalTreeHelper.GetParent(document), route, args, LogicalTreeHelper.GetParent(branchNode)); 810if (document != null && LogicalTreeHelper.GetParent(document) != this) 815continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.GetParent(document), LogicalTreeHelper.GetParent(branchNode));
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
591DependencyObject parent = LogicalTreeHelper.GetParent(childElement);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
509el = LogicalTreeHelper.GetParent(el);
src\Framework\System\Windows\Documents\FixedPage.cs (5)
584PageContent pc = LogicalTreeHelper.GetParent(this) as PageContent; 588FixedDocument doc = LogicalTreeHelper.GetParent(pc) as FixedDocument; 1048DependencyObject parent = LogicalTreeHelper.GetParent(e); 1118DependencyObject parent = LogicalTreeHelper.GetParent(current); 1145parent = LogicalTreeHelper.GetParent(parent);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
916parentOfEmbeddedElement = LogicalTreeHelper.GetParent((DependencyObject)element);
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (1)
357node = LogicalTreeHelper.GetParent(node);
src\Framework\System\windows\Documents\TextSelection.cs (1)
2593parent = LogicalTreeHelper.GetParent(element);
src\Framework\System\Windows\FrameworkContentElement.cs (3)
1361FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.GetParent(branchNode)); 1408child = LogicalTreeHelper.GetParent(child); 1426continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.GetParent(branchNode));
src\Framework\System\Windows\FrameworkElement.cs (6)
1778DependencyObject parent = LogicalTreeHelper.GetParent(d); 2931FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.GetParent(branchNode)); 3126continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.GetParent(branchNode)); 3176modelTreeNode = LogicalTreeHelper.GetParent(modelTreeNode); 6123modelTreeNode = LogicalTreeHelper.GetParent(modelTreeNode); 6137child = LogicalTreeHelper.GetParent(child);
src\Framework\System\Windows\TreeWalkHelper.cs (1)
1011DependencyObject logicalParent = LogicalTreeHelper.GetParent(d);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
341element = LogicalTreeHelper.GetParent(element);