17 references to TreeWalkPriority
PresentationFramework (17)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
510
PrePostDescendentsWalker<ProcessingTreeState> walker = new PrePostDescendentsWalker<ProcessingTreeState>(
TreeWalkPriority
.VisualTree, PreVisit, PostVisit, data);
1039
PrePostDescendentsWalker<ResolvingLocatorState> walker = new PrePostDescendentsWalker<ResolvingLocatorState>(
TreeWalkPriority
.VisualTree, ResolveLocatorPart, TerminateResolve, data);
MS\Internal\PrePostDescendentsWalker.cs (2)
37
public PrePostDescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> preCallback, VisitedCallback<T> postCallback, T data) :
74
_postCallback(startNode, this.Data, _priority ==
TreeWalkPriority
.VisualTree);
System\Windows\Annotations\AnnotationService.cs (2)
1059
DescendentsWalker<Object> walker = new DescendentsWalker<Object>(
TreeWalkPriority
.VisualTree, VerifyNoServiceOnNode, null);
1180
DescendentsWalker<List<IAttachedAnnotation>> walker = new DescendentsWalker<List<IAttachedAnnotation>>(
TreeWalkPriority
.VisualTree, GetAttachedAnnotationsFor, result);
System\Windows\BroadcastEventHelper.cs (1)
260
TreeWalkPriority
.VisualTree, BroadcastDelegate, new BroadcastEventData(root, routedEvent, eventRoute));
System\Windows\DescendentsWalker.cs (5)
20
public DescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> callback) :
26
public DescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> callback, T data)
58
continueWalk = _callback(_startNode, _data, _priority ==
TreeWalkPriority
.VisualTree);
84
if (_priority ==
TreeWalkPriority
.VisualTree)
88
else if (_priority ==
TreeWalkPriority
.LogicalTree)
System\Windows\DescendentsWalkerBase.cs (2)
19
protected DescendentsWalkerBase(
TreeWalkPriority
priority)
67
internal
TreeWalkPriority
_priority;
System\Windows\TreeWalkHelper.cs (3)
126
TreeWalkPriority
.LogicalTree, TreeChangeDelegate, TreeChangePostDelegate, parentInfo);
486
TreeWalkPriority
.LogicalTree, ResourcesChangeDelegate, info);
923
TreeWalkPriority
.LogicalTree, InheritablePropertyChangeDelegate, info);