93 references to LogicalTreeHelper
PresentationFramework (84)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
252parent = LogicalTreeHelper.GetParent(current);
MS\Internal\Controls\InnerItemCollectionView.cs (3)
714if (LogicalTreeHelper.GetParent(node) != null) 726LogicalTreeHelper.AddLogicalChild(ModelParentFE, null, item); 735LogicalTreeHelper.RemoveLogicalChild(ModelParentFE, null, item);
MS\Internal\Data\ObjectRef.cs (3)
188DependencyObject parent = LogicalTreeHelper.GetParent(d); 238ContentControl cc = LogicalTreeHelper.GetParent(fo.DO) as ContentControl; 254parent = LogicalTreeHelper.GetParent(dd);
MS\Internal\DataStreams.cs (1)
354IEnumerator e = LogicalTreeHelper.GetChildren(treeNode).GetEnumerator();
MS\Internal\Documents\ContentElementCollection.cs (1)
732node = LogicalTreeHelper.GetParent(node);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
325child = LogicalTreeHelper.GetParent(child);
MS\Internal\Documents\TableColumnCollectionInternal.cs (1)
147if (LogicalTreeHelper.GetParent(item.Parent) != Owner)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
268if (LogicalTreeHelper.GetParent(item.Parent) != Owner)
MS\Internal\Helper.cs (1)
1460parent = LogicalTreeHelper.GetParent(element);
MS\Internal\PtsHost\RunClient.cs (1)
44_inlineUIContainer = (InlineUIContainer)LogicalTreeHelper.GetParent(element);
MS\Internal\Text\DynamicPropertyReader.cs (2)
76DependencyObject parent = LogicalTreeHelper.GetParent(element); 300return GetBaselineAlignment(LogicalTreeHelper.GetParent(element));
System\Windows\BroadcastEventHelper.cs (1)
602foreach(object o in LogicalTreeHelper.GetChildren(fo.DO))
System\Windows\Controls\ContentControl.cs (3)
84DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 282DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 296LogicalTreeHelper.RemoveLogicalChild(logicalParent, newContent);
System\Windows\Controls\FlowDocumentReader.cs (2)
1003focusedElement = LogicalTreeHelper.GetParent(focusedElement); 1026if (TemplatedParent != null && newDocument != null && LogicalTreeHelper.GetParent(newDocument) != null)
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
807if (document != null && LogicalTreeHelper.GetParent(document) != this) 814LogicalTreeHelper.GetParent(document), route, args, LogicalTreeHelper.GetParent(branchNode)); 825if (document != null && LogicalTreeHelper.GetParent(document) != this) 830continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.GetParent(document), LogicalTreeHelper.GetParent(branchNode)); 1149child = LogicalTreeHelper.GetParent(child); 1225if (newDocument != null && LogicalTreeHelper.GetParent(newDocument) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
957DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 961LogicalTreeHelper.RemoveLogicalChild(logicalParent, header);
System\Windows\Controls\ItemsControl.cs (2)
1173ItemsControl ic = LogicalTreeHelper.GetParent(ui) as ItemsControl; 1463DependencyObject parent = LogicalTreeHelper.GetParent(container);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1163child = LogicalTreeHelper.GetParent(child); 1347 if (doDocument != null && LogicalTreeHelper.GetParent(doDocument) != null && doDocument is ContentElement)
System\Windows\Controls\Primitives\Popup.cs (2)
900if ((currentParent = LogicalTreeHelper.GetParent(child)) != null) 975object logicalParent = LogicalTreeHelper.GetParent(element);
System\Windows\Controls\RadioButton.cs (1)
177IEnumerable children = LogicalTreeHelper.GetChildren(parent);
System\Windows\Controls\SinglePageViewer.cs (6)
785if (document != null && LogicalTreeHelper.GetParent(document) != this) 792LogicalTreeHelper.GetParent(document), route, args, LogicalTreeHelper.GetParent(branchNode)); 803if (document != null && LogicalTreeHelper.GetParent(document) != this) 808continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(LogicalTreeHelper.GetParent(document), LogicalTreeHelper.GetParent(branchNode));
System\Windows\Controls\TextAdaptor.cs (1)
607DependencyObject parent = LogicalTreeHelper.GetParent(childElement);
System\Windows\Documents\DocumentReference.cs (1)
112LogicalTreeHelper.AddLogicalChild(this.Parent, idp);
System\Windows\Documents\FixedDocument.cs (1)
483el = LogicalTreeHelper.GetParent(el);
System\Windows\Documents\FixedPage.cs (8)
577PageContent pc = LogicalTreeHelper.GetParent(this) as PageContent; 581FixedDocument doc = LogicalTreeHelper.GetParent(pc) as FixedDocument; 848node = LogicalTreeHelper.FindLogicalNode(uiElement, elementID); 905IEnumerable currentChildrens = LogicalTreeHelper.GetChildren((DependencyObject)element); 1017DependencyObject parent = LogicalTreeHelper.GetParent(e); 1029IEnumerable currentChildrens = LogicalTreeHelper.GetChildren(parent); 1087DependencyObject parent = LogicalTreeHelper.GetParent(current); 1114parent = LogicalTreeHelper.GetParent(parent);
System\Windows\Documents\FixedTextBuilder.cs (1)
1403IEnumerable children = LogicalTreeHelper.GetChildren(elem);
System\Windows\Documents\FlowDocument.cs (1)
908parentOfEmbeddedElement = LogicalTreeHelper.GetParent((DependencyObject)element);
System\Windows\Documents\PageContent.cs (4)
201LogicalTreeHelper.AddLogicalChild(this, _child); 294LogicalTreeHelper.AddLogicalChild(this, _child); 515LogicalTreeHelper.AddLogicalChild(this, par.Result); 560LogicalTreeHelper.AddLogicalChild(this, p);
System\Windows\Documents\RangeContentEnumerator.cs (1)
349node = LogicalTreeHelper.GetParent(node);
System\Windows\Documents\TextContainer.cs (6)
1148LogicalTreeHelper.AddLogicalChild(parentLogicalNode, element); 1206LogicalTreeHelper.AddLogicalChild(parentLogicalNode, embeddedObject); 2110LogicalTreeHelper.RemoveLogicalChild(oldParentLogicalNode, logicalTreeNode); 2115LogicalTreeHelper.AddLogicalChild(newParentLogicalNode, logicalTreeNode); 2502LogicalTreeHelper.RemoveLogicalChild(logicalParent, currentLogicalChild); 2818LogicalTreeHelper.RemoveLogicalChild(oldLogicalParent, element);
System\windows\Documents\TextSelection.cs (1)
2580parent = LogicalTreeHelper.GetParent(element);
System\Windows\FrameworkContentElement.cs (3)
1351FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.GetParent(branchNode)); 1398child = LogicalTreeHelper.GetParent(child); 1416continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.GetParent(branchNode));
System\Windows\FrameworkElement.cs (7)
492targetObject = LogicalTreeHelper.FindLogicalNode( startElement, targetName ); 1779DependencyObject parent = LogicalTreeHelper.GetParent(d); 2933FrameworkElement.AddIntermediateElementsToRoute(this, route, args, LogicalTreeHelper.GetParent(branchNode)); 3127continueInvalidation = FrameworkElement.InvalidateAutomationIntermediateElements(this, LogicalTreeHelper.GetParent(branchNode)); 3177modelTreeNode = LogicalTreeHelper.GetParent(modelTreeNode); 6117modelTreeNode = LogicalTreeHelper.GetParent(modelTreeNode); 6131child = LogicalTreeHelper.GetParent(child);
System\Windows\LogicalTreeHelper.cs (1)
89childEnumerator = LogicalTreeHelper.GetLogicalChildren(logicalTreeNode);
System\Windows\Navigation\NavigationService.cs (2)
352targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)_bp, elementId) as DependencyObject; 4495IEnumerator children = LogicalTreeHelper.GetLogicalChildren(dobj);
System\Windows\TreeWalkHelper.cs (1)
1016DependencyObject logicalParent = LogicalTreeHelper.GetParent(d);
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
872System.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)
1469foreach (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)
158popup = LogicalTreeHelper.GetParent(rootVisual) as Popup; 2594parent = LogicalTreeHelper.GetParent(ce);
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (1)
305Popup popupParent = LogicalTreeHelper.GetParent(element) as Popup;