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