93 references to LogicalTreeHelper
PresentationFramework (84)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
252
parent =
LogicalTreeHelper
.GetParent(current);
MS\Internal\Controls\InnerItemCollectionView.cs (3)
714
if (
LogicalTreeHelper
.GetParent(node) != null)
726
LogicalTreeHelper
.AddLogicalChild(ModelParentFE, null, item);
735
LogicalTreeHelper
.RemoveLogicalChild(ModelParentFE, null, item);
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\DataStreams.cs (1)
354
IEnumerator e =
LogicalTreeHelper
.GetChildren(treeNode).GetEnumerator();
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\BroadcastEventHelper.cs (1)
602
foreach(object o in
LogicalTreeHelper
.GetChildren(fo.DO))
System\Windows\Controls\ContentControl.cs (3)
84
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
282
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
296
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, newContent);
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 (2)
957
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
961
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, header);
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\RadioButton.cs (1)
177
IEnumerable children =
LogicalTreeHelper
.GetChildren(parent);
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\DocumentReference.cs (1)
112
LogicalTreeHelper
.AddLogicalChild(this.Parent, idp);
System\Windows\Documents\FixedDocument.cs (1)
483
el =
LogicalTreeHelper
.GetParent(el);
System\Windows\Documents\FixedPage.cs (8)
577
PageContent pc =
LogicalTreeHelper
.GetParent(this) as PageContent;
581
FixedDocument doc =
LogicalTreeHelper
.GetParent(pc) as FixedDocument;
848
node =
LogicalTreeHelper
.FindLogicalNode(uiElement, elementID);
905
IEnumerable currentChildrens =
LogicalTreeHelper
.GetChildren((DependencyObject)element);
1017
DependencyObject parent =
LogicalTreeHelper
.GetParent(e);
1029
IEnumerable currentChildrens =
LogicalTreeHelper
.GetChildren(parent);
1087
DependencyObject parent =
LogicalTreeHelper
.GetParent(current);
1114
parent =
LogicalTreeHelper
.GetParent(parent);
System\Windows\Documents\FixedTextBuilder.cs (1)
1403
IEnumerable children =
LogicalTreeHelper
.GetChildren(elem);
System\Windows\Documents\FlowDocument.cs (1)
908
parentOfEmbeddedElement =
LogicalTreeHelper
.GetParent((DependencyObject)element);
System\Windows\Documents\PageContent.cs (4)
201
LogicalTreeHelper
.AddLogicalChild(this, _child);
294
LogicalTreeHelper
.AddLogicalChild(this, _child);
515
LogicalTreeHelper
.AddLogicalChild(this, par.Result);
560
LogicalTreeHelper
.AddLogicalChild(this, p);
System\Windows\Documents\RangeContentEnumerator.cs (1)
349
node =
LogicalTreeHelper
.GetParent(node);
System\Windows\Documents\TextContainer.cs (6)
1148
LogicalTreeHelper
.AddLogicalChild(parentLogicalNode, element);
1206
LogicalTreeHelper
.AddLogicalChild(parentLogicalNode, embeddedObject);
2110
LogicalTreeHelper
.RemoveLogicalChild(oldParentLogicalNode, logicalTreeNode);
2115
LogicalTreeHelper
.AddLogicalChild(newParentLogicalNode, logicalTreeNode);
2502
LogicalTreeHelper
.RemoveLogicalChild(logicalParent, currentLogicalChild);
2818
LogicalTreeHelper
.RemoveLogicalChild(oldLogicalParent, element);
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 (7)
492
targetObject =
LogicalTreeHelper
.FindLogicalNode( startElement, targetName );
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\LogicalTreeHelper.cs (1)
89
childEnumerator =
LogicalTreeHelper
.GetLogicalChildren(logicalTreeNode);
System\Windows\Navigation\NavigationService.cs (2)
354
targetElement =
LogicalTreeHelper
.FindLogicalNode((DependencyObject)_bp, elementId) as DependencyObject;
4497
IEnumerator children =
LogicalTreeHelper
.GetLogicalChildren(dobj);
System\Windows\TreeWalkHelper.cs (1)
1016
DependencyObject logicalParent =
LogicalTreeHelper
.GetParent(d);
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
872
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)
1469
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)
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;