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