17 references to TreeWalkPriority
PresentationFramework (17)
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
544
PrePostDescendentsWalker<ProcessingTreeState> walker = new PrePostDescendentsWalker<ProcessingTreeState>(
TreeWalkPriority
.VisualTree, PreVisit, PostVisit, data);
1076
PrePostDescendentsWalker<ResolvingLocatorState> walker = new PrePostDescendentsWalker<ResolvingLocatorState>(
TreeWalkPriority
.VisualTree, ResolveLocatorPart, TerminateResolve, data);
src\Framework\MS\Internal\PrePostDescendentsWalker.cs (2)
44
public PrePostDescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> preCallback, VisitedCallback<T> postCallback, T data) :
81
_postCallback(startNode, this.Data, _priority ==
TreeWalkPriority
.VisualTree);
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
1109
DescendentsWalker<Object> walker = new DescendentsWalker<Object>(
TreeWalkPriority
.VisualTree, VerifyNoServiceOnNode, null);
1232
DescendentsWalker<List<IAttachedAnnotation>> walker = new DescendentsWalker<List<IAttachedAnnotation>>(
TreeWalkPriority
.VisualTree, GetAttachedAnnotationsFor, result);
src\Framework\System\Windows\BroadcastEventHelper.cs (1)
262
TreeWalkPriority
.VisualTree, BroadcastDelegate, new BroadcastEventData(root, routedEvent, eventRoute));
src\Framework\System\Windows\DescendentsWalker.cs (5)
21
public DescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> callback) :
27
public DescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> callback, T data)
59
continueWalk = _callback(_startNode, _data, _priority ==
TreeWalkPriority
.VisualTree);
86
if (_priority ==
TreeWalkPriority
.VisualTree)
90
else if (_priority ==
TreeWalkPriority
.LogicalTree)
src\Framework\System\Windows\DescendentsWalkerBase.cs (2)
19
protected DescendentsWalkerBase(
TreeWalkPriority
priority)
68
internal
TreeWalkPriority
_priority;
src\Framework\System\Windows\TreeWalkHelper.cs (3)
129
TreeWalkPriority
.LogicalTree, TreeChangeDelegate, TreeChangePostDelegate, parentInfo);
485
TreeWalkPriority
.LogicalTree, ResourcesChangeDelegate, info);
922
TreeWalkPriority
.LogicalTree, InheritablePropertyChangeDelegate, info);