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