1 instantiation of PathNode
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (1)
295PathNode pathNode = new PathNode(node);
41 references to PathNode
PresentationFramework (41)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
173public override ContentLocator GenerateLocator(PathNode node, out bool continueGenerating)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
118public override ContentLocator GenerateLocator(PathNode node, out bool continueGenerating)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
662SetValue(PathNode.HiddenParentProperty, parent);
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (6)
392PathNode pathRoot = PathNode.BuildPathForElements(nodes); 682private IList<ContentLocatorBase> GenerateLocators(SubTreeProcessor processor, PathNode startNode, Object selection) 714newLocators = GenerateLocators(newProcessor, (PathNode)startNode.Children[0], selection); 794private ContentLocatorBase GenerateLocatorGroup(PathNode node, Object selection) 806foreach (PathNode child in node.Children)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (20)
79PathNode otherNode = obj as PathNode; 162internal static PathNode BuildPathForElements(ICollection nodes) 167PathNode firstPathNode = null; 170PathNode branch = BuildPathForElement(node); 213internal static readonly DependencyProperty HiddenParentProperty = DependencyProperty.RegisterAttached("HiddenParent", typeof(DependencyObject), typeof(PathNode)); 243parent = (DependencyObject)current.GetValue(PathNode.HiddenParentProperty); 288private static PathNode BuildPathForElement(DependencyObject node) 292PathNode childNode = null; 295PathNode pathNode = new PathNode(node); 308node = PathNode.GetParent(node); 327private static PathNode AddBranchToPath(PathNode path, PathNode branch) 336PathNode fp = path; 337PathNode sp = branch; 346PathNode branchNode = (PathNode)sp._children[0]; 348foreach (PathNode fpn in fp._children) 385foreach (PathNode node in _children)
src\Framework\MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
133public abstract ContentLocator GenerateLocator(PathNode node, out bool continueGenerating);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
188DependencyObject parent = PathNode.GetParent(document); 410FlowDocumentScrollViewer scrollViewer = PathNode.GetParent(content) as FlowDocumentScrollViewer; 448FlowDocumentScrollViewer scrollViewer = PathNode.GetParent(content) as FlowDocumentScrollViewer; 528DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
285serviceProvider = PathNode.GetParent(content as DependencyObject) as IServiceProvider;
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
518_uiParent = PathNode.GetParent(textContainer.Parent) as UIElement;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1227oldDocument.ClearValue(PathNode.HiddenParentProperty); 1259newDocument.SetValue(PathNode.HiddenParentProperty, this);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1352depObj.ClearValue(PathNode.HiddenParentProperty); 1398doc.SetValue(PathNode.HiddenParentProperty, this); 1411flowDocument.SetValue(PathNode.HiddenParentProperty, this);