1 instantiation of PathNode
PresentationFramework (1)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
268PathNode pathNode = new PathNode(node);
41 references to PathNode
PresentationFramework (41)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
143public override ContentLocator GenerateLocator(PathNode node, out bool continueGenerating)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
105public override ContentLocator GenerateLocator(PathNode node, out bool continueGenerating)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
637SetValue(PathNode.HiddenParentProperty, parent);
MS\Internal\Annotations\Anchoring\LocatorManager.cs (6)
352PathNode pathRoot = PathNode.BuildPathForElements(nodes); 632private IList<ContentLocatorBase> GenerateLocators(SubTreeProcessor processor, PathNode startNode, Object selection) 664newLocators = GenerateLocators(newProcessor, (PathNode)startNode.Children[0], selection); 744private ContentLocatorBase GenerateLocatorGroup(PathNode node, Object selection) 756foreach (PathNode child in node.Children)
MS\Internal\Annotations\Anchoring\PathNode.cs (20)
56PathNode otherNode = obj as PathNode; 139internal static PathNode BuildPathForElements(ICollection nodes) 143PathNode firstPathNode = null; 146PathNode branch = BuildPathForElement(node); 187internal static readonly DependencyProperty HiddenParentProperty = DependencyProperty.RegisterAttached("HiddenParent", typeof(DependencyObject), typeof(PathNode)); 217parent = (DependencyObject)current.GetValue(PathNode.HiddenParentProperty); 261private static PathNode BuildPathForElement(DependencyObject node) 265PathNode childNode = null; 268PathNode pathNode = new PathNode(node); 281node = PathNode.GetParent(node); 300private static PathNode AddBranchToPath(PathNode path, PathNode branch) 309PathNode fp = path; 310PathNode sp = branch; 319PathNode branchNode = (PathNode)sp._children[0]; 321foreach (PathNode fpn in fp._children) 358foreach (PathNode node in _children)
MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (1)
116public abstract ContentLocator GenerateLocator(PathNode node, out bool continueGenerating);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
172DependencyObject parent = PathNode.GetParent(document); 390FlowDocumentScrollViewer scrollViewer = PathNode.GetParent(content) as FlowDocumentScrollViewer; 428FlowDocumentScrollViewer scrollViewer = PathNode.GetParent(content) as FlowDocumentScrollViewer; 508DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
261serviceProvider = PathNode.GetParent(content as DependencyObject) as IServiceProvider;
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
496_uiParent = PathNode.GetParent(textContainer.Parent) as UIElement;
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1207oldDocument.ClearValue(PathNode.HiddenParentProperty); 1239newDocument.SetValue(PathNode.HiddenParentProperty, this);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
1310depObj?.ClearValue(PathNode.HiddenParentProperty); 1355doc.SetValue(PathNode.HiddenParentProperty, this); 1368flowDocument.SetValue(PathNode.HiddenParentProperty, this);