65 references to GetParent
PresentationFramework (58)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
252
parent = LogicalTreeHelper.
GetParent
(current);
MS\Internal\Controls\InnerItemCollectionView.cs (1)
714
if (LogicalTreeHelper.
GetParent
(node) != null)
MS\Internal\Data\ObjectRef.cs (3)
188
DependencyObject parent = LogicalTreeHelper.
GetParent
(d);
238
ContentControl cc = LogicalTreeHelper.
GetParent
(fo.DO) as ContentControl;
254
parent = LogicalTreeHelper.
GetParent
(dd);
MS\Internal\Documents\ContentElementCollection.cs (1)
732
node = LogicalTreeHelper.
GetParent
(node);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
325
child = LogicalTreeHelper.
GetParent
(child);
MS\Internal\Documents\TableColumnCollectionInternal.cs (1)
147
if (LogicalTreeHelper.
GetParent
(item.Parent) != Owner)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
268
if (LogicalTreeHelper.
GetParent
(item.Parent) != Owner)
MS\Internal\Helper.cs (1)
1460
parent = LogicalTreeHelper.
GetParent
(element);
MS\Internal\PtsHost\RunClient.cs (1)
44
_inlineUIContainer = (InlineUIContainer)LogicalTreeHelper.
GetParent
(element);
MS\Internal\Text\DynamicPropertyReader.cs (2)
76
DependencyObject parent = LogicalTreeHelper.
GetParent
(element);
300
return GetBaselineAlignment(LogicalTreeHelper.
GetParent
(element));
System\Windows\Controls\ContentControl.cs (2)
84
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
282
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
System\Windows\Controls\FlowDocumentReader.cs (2)
1003
focusedElement = LogicalTreeHelper.
GetParent
(focusedElement);
1026
if (TemplatedParent != null && newDocument != null && LogicalTreeHelper.
GetParent
(newDocument) != null)
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
807
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
814
LogicalTreeHelper.
GetParent
(document), route, args, LogicalTreeHelper.
GetParent
(branchNode));
825
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
830
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.
GetParent
(document), LogicalTreeHelper.
GetParent
(branchNode));
1149
child = LogicalTreeHelper.
GetParent
(child);
1225
if (newDocument != null && LogicalTreeHelper.
GetParent
(newDocument) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
957
DependencyObject logicalParent = LogicalTreeHelper.
GetParent
(d);
System\Windows\Controls\ItemsControl.cs (2)
1173
ItemsControl ic = LogicalTreeHelper.
GetParent
(ui) as ItemsControl;
1463
DependencyObject parent = LogicalTreeHelper.
GetParent
(container);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1163
child = LogicalTreeHelper.
GetParent
(child);
1347
if (doDocument != null && LogicalTreeHelper.
GetParent
(doDocument) != null && doDocument is ContentElement)
System\Windows\Controls\Primitives\Popup.cs (2)
900
if ((currentParent = LogicalTreeHelper.
GetParent
(child)) != null)
975
object logicalParent = LogicalTreeHelper.
GetParent
(element);
System\Windows\Controls\SinglePageViewer.cs (6)
785
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
792
LogicalTreeHelper.
GetParent
(document), route, args, LogicalTreeHelper.
GetParent
(branchNode));
803
if (document != null && LogicalTreeHelper.
GetParent
(document) != this)
808
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.
GetParent
(document), LogicalTreeHelper.
GetParent
(branchNode));
System\Windows\Controls\TextAdaptor.cs (1)
607
DependencyObject parent = LogicalTreeHelper.
GetParent
(childElement);
System\Windows\Documents\FixedDocument.cs (1)
483
el = LogicalTreeHelper.
GetParent
(el);
System\Windows\Documents\FixedPage.cs (5)
577
PageContent pc = LogicalTreeHelper.
GetParent
(this) as PageContent;
581
FixedDocument doc = LogicalTreeHelper.
GetParent
(pc) as FixedDocument;
1017
DependencyObject parent = LogicalTreeHelper.
GetParent
(e);
1087
DependencyObject parent = LogicalTreeHelper.
GetParent
(current);
1114
parent = LogicalTreeHelper.
GetParent
(parent);
System\Windows\Documents\FlowDocument.cs (1)
908
parentOfEmbeddedElement = LogicalTreeHelper.
GetParent
((DependencyObject)element);
System\Windows\Documents\RangeContentEnumerator.cs (1)
349
node = LogicalTreeHelper.
GetParent
(node);
System\windows\Documents\TextSelection.cs (1)
2580
parent = LogicalTreeHelper.
GetParent
(element);
System\Windows\FrameworkContentElement.cs (3)
1351
FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.
GetParent
(branchNode));
1398
child = LogicalTreeHelper.
GetParent
(child);
1416
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.
GetParent
(branchNode));
System\Windows\FrameworkElement.cs (6)
1779
DependencyObject parent = LogicalTreeHelper.
GetParent
(d);
2933
FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.
GetParent
(branchNode));
3127
continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.
GetParent
(branchNode));
3177
modelTreeNode = LogicalTreeHelper.
GetParent
(modelTreeNode);
6117
modelTreeNode = LogicalTreeHelper.
GetParent
(modelTreeNode);
6131
child = LogicalTreeHelper.
GetParent
(child);
System\Windows\TreeWalkHelper.cs (1)
1016
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)
158
popup = LogicalTreeHelper.
GetParent
(rootVisual) as Popup;
2594
parent = LogicalTreeHelper.
GetParent
(ce);
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
305
Popup popupParent = LogicalTreeHelper.
GetParent
(element) as Popup;