93 references to LogicalTreeHelper
PresentationFramework (84)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
236
parent =
LogicalTreeHelper
.GetParent(current);
MS\Internal\Controls\InnerItemCollectionView.cs (3)
713
if (
LogicalTreeHelper
.GetParent(node) != null)
725
LogicalTreeHelper
.AddLogicalChild(ModelParentFE, null, item);
734
LogicalTreeHelper
.RemoveLogicalChild(ModelParentFE, null, item);
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\DataStreams.cs (1)
347
IEnumerator e =
LogicalTreeHelper
.GetChildren(treeNode).GetEnumerator();
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\BroadcastEventHelper.cs (1)
596
foreach(object o in
LogicalTreeHelper
.GetChildren(fo.DO))
System\Windows\Controls\ContentControl.cs (3)
75
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
273
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
287
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, newContent);
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 (2)
954
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
958
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, header);
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\RadioButton.cs (1)
169
IEnumerable children =
LogicalTreeHelper
.GetChildren(parent);
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\DocumentReference.cs (1)
99
LogicalTreeHelper
.AddLogicalChild(this.Parent, idp);
System\Windows\Documents\FixedDocument.cs (1)
472
el =
LogicalTreeHelper
.GetParent(el);
System\Windows\Documents\FixedPage.cs (8)
571
PageContent pc =
LogicalTreeHelper
.GetParent(this) as PageContent;
575
FixedDocument doc =
LogicalTreeHelper
.GetParent(pc) as FixedDocument;
842
node =
LogicalTreeHelper
.FindLogicalNode(uiElement, elementID);
899
IEnumerable currentChildrens =
LogicalTreeHelper
.GetChildren((DependencyObject)element);
1011
DependencyObject parent =
LogicalTreeHelper
.GetParent(e);
1023
IEnumerable currentChildrens =
LogicalTreeHelper
.GetChildren(parent);
1081
DependencyObject parent =
LogicalTreeHelper
.GetParent(current);
1108
parent =
LogicalTreeHelper
.GetParent(parent);
System\Windows\Documents\FixedTextBuilder.cs (1)
1397
IEnumerable children =
LogicalTreeHelper
.GetChildren(elem);
System\Windows\Documents\FlowDocument.cs (1)
908
parentOfEmbeddedElement =
LogicalTreeHelper
.GetParent((DependencyObject)element);
System\Windows\Documents\PageContent.cs (4)
187
LogicalTreeHelper
.AddLogicalChild(this, _child);
280
LogicalTreeHelper
.AddLogicalChild(this, _child);
501
LogicalTreeHelper
.AddLogicalChild(this, par.Result);
546
LogicalTreeHelper
.AddLogicalChild(this, p);
System\Windows\Documents\RangeContentEnumerator.cs (1)
339
node =
LogicalTreeHelper
.GetParent(node);
System\Windows\Documents\TextContainer.cs (6)
1143
LogicalTreeHelper
.AddLogicalChild(parentLogicalNode, element);
1201
LogicalTreeHelper
.AddLogicalChild(parentLogicalNode, embeddedObject);
2105
LogicalTreeHelper
.RemoveLogicalChild(oldParentLogicalNode, logicalTreeNode);
2110
LogicalTreeHelper
.AddLogicalChild(newParentLogicalNode, logicalTreeNode);
2497
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, currentLogicalChild);
2813
LogicalTreeHelper
.RemoveLogicalChild(oldLogicalParent, element);
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 (7)
474
targetObject =
LogicalTreeHelper
.FindLogicalNode( startElement, targetName );
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\LogicalTreeHelper.cs (1)
86
childEnumerator =
LogicalTreeHelper
.GetLogicalChildren(logicalTreeNode);
System\Windows\Navigation\NavigationService.cs (2)
338
targetElement =
LogicalTreeHelper
.FindLogicalNode((DependencyObject)_bp, elementId) as DependencyObject;
4469
IEnumerator children =
LogicalTreeHelper
.GetLogicalChildren(dobj);
System\Windows\TreeWalkHelper.cs (1)
1012
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
862
System.Collections.IEnumerable enumerable =
LogicalTreeHelper
.GetChildren(dependencyObject);
System.Windows.Controls.Ribbon (8)
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\KeyTipService.cs (1)
1471
foreach (object child in
LogicalTreeHelper
.GetChildren(currentAdornerLayer))
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;