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