1 instantiation of PathNode
PresentationFramework (1)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
281PathNode pathNode = new PathNode(node);
41 references to PathNode
PresentationFramework (41)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
155public override ContentLocator GenerateLocator(PathNode node, out bool continueGenerating)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
106public override ContentLocator GenerateLocator(PathNode node, out bool continueGenerating)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
635SetValue(PathNode.HiddenParentProperty, parent);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (6)
364PathNode pathRoot = PathNode.BuildPathForElements(nodes); 645private IList<ContentLocatorBase> GenerateLocators(SubTreeProcessor processor, PathNode startNode, Object selection) 677newLocators = GenerateLocators(newProcessor, (PathNode)startNode.Children[0], selection); 757private ContentLocatorBase GenerateLocatorGroup(PathNode node, Object selection) 769foreach (PathNode child in node.Children)
MS\Internal\Annotations\Anchoring\PathNode.cs (20)
67PathNode otherNode = obj as PathNode; 150internal static PathNode BuildPathForElements(ICollection nodes) 154PathNode firstPathNode = null; 157PathNode branch = BuildPathForElement(node); 200internal static readonly DependencyProperty HiddenParentProperty = DependencyProperty.RegisterAttached("HiddenParent", typeof(DependencyObject), typeof(PathNode)); 230parent = (DependencyObject)current.GetValue(PathNode.HiddenParentProperty); 274private static PathNode BuildPathForElement(DependencyObject node) 278PathNode childNode = null; 281PathNode pathNode = new PathNode(node); 294node = PathNode.GetParent(node); 313private static PathNode AddBranchToPath(PathNode path, PathNode branch) 322PathNode fp = path; 323PathNode sp = branch; 332PathNode branchNode = (PathNode)sp._children[0]; 334foreach (PathNode fpn in fp._children) 371foreach (PathNode node in _children)
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
117public abstract ContentLocator GenerateLocator(PathNode node, out bool continueGenerating);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
173DependencyObject parent = PathNode.GetParent(document); 391FlowDocumentScrollViewer scrollViewer = PathNode.GetParent(content) as FlowDocumentScrollViewer; 429FlowDocumentScrollViewer scrollViewer = PathNode.GetParent(content) as FlowDocumentScrollViewer; 509DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
262serviceProvider = PathNode.GetParent(content as DependencyObject) as IServiceProvider;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
497_uiParent = PathNode.GetParent(textContainer.Parent) as UIElement;
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1216oldDocument.ClearValue(PathNode.HiddenParentProperty); 1248newDocument.SetValue(PathNode.HiddenParentProperty, this);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1335depObj.ClearValue(PathNode.HiddenParentProperty); 1381doc.SetValue(PathNode.HiddenParentProperty, this); 1394flowDocument.SetValue(PathNode.HiddenParentProperty, this);