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