1 instantiation of PathNode
PresentationFramework (1)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
269PathNode pathNode = new PathNode(node);
41 references to PathNode
PresentationFramework (41)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
144public 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)
638SetValue(PathNode.HiddenParentProperty, parent);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (6)
353PathNode pathRoot = PathNode.BuildPathForElements(nodes); 633private IList<ContentLocatorBase> GenerateLocators(SubTreeProcessor processor, PathNode startNode, Object selection) 665newLocators = GenerateLocators(newProcessor, (PathNode)startNode.Children[0], selection); 745private ContentLocatorBase GenerateLocatorGroup(PathNode node, Object selection) 757foreach (PathNode child in node.Children)
MS\Internal\Annotations\Anchoring\PathNode.cs (20)
57PathNode otherNode = obj as PathNode; 140internal static PathNode BuildPathForElements(ICollection nodes) 144PathNode firstPathNode = null; 147PathNode branch = BuildPathForElement(node); 188internal static readonly DependencyProperty HiddenParentProperty = DependencyProperty.RegisterAttached("HiddenParent", typeof(DependencyObject), typeof(PathNode)); 218parent = (DependencyObject)current.GetValue(PathNode.HiddenParentProperty); 262private static PathNode BuildPathForElement(DependencyObject node) 266PathNode childNode = null; 269PathNode pathNode = new PathNode(node); 282node = PathNode.GetParent(node); 301private static PathNode AddBranchToPath(PathNode path, PathNode branch) 310PathNode fp = path; 311PathNode sp = branch; 320PathNode branchNode = (PathNode)sp._children[0]; 322foreach (PathNode fpn in fp._children) 359foreach (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)
1208oldDocument.ClearValue(PathNode.HiddenParentProperty); 1240newDocument.SetValue(PathNode.HiddenParentProperty, this);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1311depObj?.ClearValue(PathNode.HiddenParentProperty); 1356doc.SetValue(PathNode.HiddenParentProperty, this); 1369flowDocument.SetValue(PathNode.HiddenParentProperty, this);