93 references to LogicalTreeHelper
PresentationFramework (84)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
236parent = LogicalTreeHelper.GetParent(current);
MS\Internal\Controls\InnerItemCollectionView.cs (3)
713if (LogicalTreeHelper.GetParent(node) != null) 725LogicalTreeHelper.AddLogicalChild(ModelParentFE, null, item); 734LogicalTreeHelper.RemoveLogicalChild(ModelParentFE, null, item);
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\DataStreams.cs (1)
347IEnumerator e = LogicalTreeHelper.GetChildren(treeNode).GetEnumerator();
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\BroadcastEventHelper.cs (1)
596foreach(object o in LogicalTreeHelper.GetChildren(fo.DO))
System\Windows\Controls\ContentControl.cs (3)
75DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 273DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 287LogicalTreeHelper.RemoveLogicalChild(logicalParent, newContent);
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)
806if (document != null && LogicalTreeHelper.GetParent(document) != this) 813LogicalTreeHelper.GetParent(document), route, args, LogicalTreeHelper.GetParent(branchNode)); 824if (document != null && LogicalTreeHelper.GetParent(document) != this) 829continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.GetParent(document), LogicalTreeHelper.GetParent(branchNode)); 1150child = LogicalTreeHelper.GetParent(child); 1226if (newDocument != null && LogicalTreeHelper.GetParent(newDocument) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
954DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 958LogicalTreeHelper.RemoveLogicalChild(logicalParent, header);
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)
1149child = LogicalTreeHelper.GetParent(child); 1332 if (doDocument != null && LogicalTreeHelper.GetParent(doDocument) != null && doDocument is ContentElement)
System\Windows\Controls\Primitives\Popup.cs (2)
889if ((currentParent = LogicalTreeHelper.GetParent(child)) != null) 982object logicalParent = LogicalTreeHelper.GetParent(element);
System\Windows\Controls\RadioButton.cs (1)
169IEnumerable children = LogicalTreeHelper.GetChildren(parent);
System\Windows\Controls\SinglePageViewer.cs (6)
784if (document != null && LogicalTreeHelper.GetParent(document) != this) 791LogicalTreeHelper.GetParent(document), route, args, LogicalTreeHelper.GetParent(branchNode)); 802if (document != null && LogicalTreeHelper.GetParent(document) != this) 807continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.GetParent(document), LogicalTreeHelper.GetParent(branchNode));
System\Windows\Controls\TextAdaptor.cs (1)
604DependencyObject parent = LogicalTreeHelper.GetParent(childElement);
System\Windows\Documents\DocumentReference.cs (1)
99LogicalTreeHelper.AddLogicalChild(this.Parent, idp);
System\Windows\Documents\FixedDocument.cs (1)
472el = LogicalTreeHelper.GetParent(el);
System\Windows\Documents\FixedPage.cs (8)
571PageContent pc = LogicalTreeHelper.GetParent(this) as PageContent; 575FixedDocument doc = LogicalTreeHelper.GetParent(pc) as FixedDocument; 842node = LogicalTreeHelper.FindLogicalNode(uiElement, elementID); 899IEnumerable currentChildrens = LogicalTreeHelper.GetChildren((DependencyObject)element); 1011DependencyObject parent = LogicalTreeHelper.GetParent(e); 1023IEnumerable currentChildrens = LogicalTreeHelper.GetChildren(parent); 1081DependencyObject parent = LogicalTreeHelper.GetParent(current); 1108parent = LogicalTreeHelper.GetParent(parent);
System\Windows\Documents\FixedTextBuilder.cs (1)
1397IEnumerable children = LogicalTreeHelper.GetChildren(elem);
System\Windows\Documents\FlowDocument.cs (1)
908parentOfEmbeddedElement = LogicalTreeHelper.GetParent((DependencyObject)element);
System\Windows\Documents\PageContent.cs (4)
187LogicalTreeHelper.AddLogicalChild(this, _child); 280LogicalTreeHelper.AddLogicalChild(this, _child); 501LogicalTreeHelper.AddLogicalChild(this, par.Result); 546LogicalTreeHelper.AddLogicalChild(this, p);
System\Windows\Documents\RangeContentEnumerator.cs (1)
339node = LogicalTreeHelper.GetParent(node);
System\Windows\Documents\TextContainer.cs (6)
1143LogicalTreeHelper.AddLogicalChild(parentLogicalNode, element); 1201LogicalTreeHelper.AddLogicalChild(parentLogicalNode, embeddedObject); 2105LogicalTreeHelper.RemoveLogicalChild(oldParentLogicalNode, logicalTreeNode); 2110LogicalTreeHelper.AddLogicalChild(newParentLogicalNode, logicalTreeNode); 2497LogicalTreeHelper.RemoveLogicalChild(logicalParent, currentLogicalChild); 2813LogicalTreeHelper.RemoveLogicalChild(oldLogicalParent, element);
System\windows\Documents\TextSelection.cs (1)
2579parent = LogicalTreeHelper.GetParent(element);
System\Windows\FrameworkContentElement.cs (3)
1334FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.GetParent(branchNode)); 1381child = LogicalTreeHelper.GetParent(child); 1399continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.GetParent(branchNode));
System\Windows\FrameworkElement.cs (7)
474targetObject = LogicalTreeHelper.FindLogicalNode( startElement, targetName ); 1761DependencyObject parent = LogicalTreeHelper.GetParent(d); 2917FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.GetParent(branchNode)); 3111continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.GetParent(branchNode)); 3161modelTreeNode = LogicalTreeHelper.GetParent(modelTreeNode); 6111modelTreeNode = LogicalTreeHelper.GetParent(modelTreeNode); 6125child = LogicalTreeHelper.GetParent(child);
System\Windows\LogicalTreeHelper.cs (1)
86childEnumerator = LogicalTreeHelper.GetLogicalChildren(logicalTreeNode);
System\Windows\Navigation\NavigationService.cs (2)
338targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)_bp, elementId) as DependencyObject; 4469IEnumerator children = LogicalTreeHelper.GetLogicalChildren(dobj);
System\Windows\TreeWalkHelper.cs (1)
1012DependencyObject logicalParent = LogicalTreeHelper.GetParent(d);
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
862System.Collections.IEnumerable enumerable = LogicalTreeHelper.GetChildren(dependencyObject);
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Generated\TreeHelper.cs (3)
27return LogicalTreeHelper.GetParent(ce); 46parent = LogicalTreeHelper.GetParent(element); 119element = LogicalTreeHelper.GetParent(element);
Microsoft\Windows\Controls\KeyTipService.cs (1)
1471foreach (object child in LogicalTreeHelper.GetChildren(currentAdornerLayer))
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1318RibbonComboBox comboBoxParent = LogicalTreeHelper.GetParent(this) as RibbonComboBox;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (2)
157popup = LogicalTreeHelper.GetParent(rootVisual) as Popup; 2599parent = LogicalTreeHelper.GetParent(ce);
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
302Popup popupParent = LogicalTreeHelper.GetParent(element) as Popup;