86 references to LogicalTreeHelper
PresentationFramework (84)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (1)
260
parent =
LogicalTreeHelper
.GetParent(current);
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (3)
717
if (
LogicalTreeHelper
.GetParent(node) != null)
729
LogicalTreeHelper
.AddLogicalChild(ModelParentFE, null, item);
738
LogicalTreeHelper
.RemoveLogicalChild(ModelParentFE, null, item);
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\DataStreams.cs (1)
385
IEnumerator e =
LogicalTreeHelper
.GetChildren(treeNode).GetEnumerator();
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\BroadcastEventHelper.cs (1)
600
foreach(object o in
LogicalTreeHelper
.GetChildren(fo.DO))
src\Framework\System\Windows\Controls\ContentControl.cs (3)
80
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
278
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
292
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, newContent);
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 (2)
959
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
963
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, header);
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\RadioButton.cs (1)
173
IEnumerable children =
LogicalTreeHelper
.GetChildren(parent);
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\DocumentReference.cs (1)
116
LogicalTreeHelper
.AddLogicalChild(this.Parent, idp);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
509
el =
LogicalTreeHelper
.GetParent(el);
src\Framework\System\Windows\Documents\FixedPage.cs (8)
584
PageContent pc =
LogicalTreeHelper
.GetParent(this) as PageContent;
588
FixedDocument doc =
LogicalTreeHelper
.GetParent(pc) as FixedDocument;
879
node =
LogicalTreeHelper
.FindLogicalNode(uiElement, elementID);
936
IEnumerable currentChildrens =
LogicalTreeHelper
.GetChildren((DependencyObject)element);
1048
DependencyObject parent =
LogicalTreeHelper
.GetParent(e);
1060
IEnumerable currentChildrens =
LogicalTreeHelper
.GetChildren(parent);
1118
DependencyObject parent =
LogicalTreeHelper
.GetParent(current);
1145
parent =
LogicalTreeHelper
.GetParent(parent);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1431
IEnumerable children =
LogicalTreeHelper
.GetChildren(elem);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
916
parentOfEmbeddedElement =
LogicalTreeHelper
.GetParent((DependencyObject)element);
src\Framework\System\Windows\Documents\PageContent.cs (4)
209
LogicalTreeHelper
.AddLogicalChild(this, _child);
306
LogicalTreeHelper
.AddLogicalChild(this, _child);
531
LogicalTreeHelper
.AddLogicalChild(this, par.Result);
576
LogicalTreeHelper
.AddLogicalChild(this, p);
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (1)
357
node =
LogicalTreeHelper
.GetParent(node);
src\Framework\System\Windows\Documents\TextContainer.cs (6)
1163
LogicalTreeHelper
.AddLogicalChild(parentLogicalNode, element);
1221
LogicalTreeHelper
.AddLogicalChild(parentLogicalNode, embeddedObject);
2125
LogicalTreeHelper
.RemoveLogicalChild(oldParentLogicalNode, logicalTreeNode);
2130
LogicalTreeHelper
.AddLogicalChild(newParentLogicalNode, logicalTreeNode);
2517
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, currentLogicalChild);
2833
LogicalTreeHelper
.RemoveLogicalChild(oldLogicalParent, element);
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 (7)
492
targetObject =
LogicalTreeHelper
.FindLogicalNode( startElement, targetName );
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\LogicalTreeHelper.cs (1)
102
childEnumerator =
LogicalTreeHelper
.GetLogicalChildren(logicalTreeNode);
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
384
targetElement =
LogicalTreeHelper
.FindLogicalNode((DependencyObject)_bp, elementId) as DependencyObject;
4771
IEnumerator children =
LogicalTreeHelper
.GetLogicalChildren(dobj);
src\Framework\System\Windows\TreeWalkHelper.cs (1)
1011
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
2154
foreach (object logicalChild in
LogicalTreeHelper
.GetChildren(adornerLayer))
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
341
element =
LogicalTreeHelper
.GetParent(element);