17 references to TreeWalkPriority
PresentationFramework (17)
MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
521
PrePostDescendentsWalker<ProcessingTreeState> walker = new PrePostDescendentsWalker<ProcessingTreeState>(
TreeWalkPriority
.VisualTree, PreVisit, PostVisit, data);
1050
PrePostDescendentsWalker<ResolvingLocatorState> walker = new PrePostDescendentsWalker<ResolvingLocatorState>(
TreeWalkPriority
.VisualTree, ResolveLocatorPart, TerminateResolve, data);
MS\Internal\PrePostDescendentsWalker.cs (2)
40
public PrePostDescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> preCallback, VisitedCallback<T> postCallback, T data) :
77
_postCallback(startNode, this.Data, _priority ==
TreeWalkPriority
.VisualTree);
System\Windows\Annotations\AnnotationService.cs (2)
1071
DescendentsWalker<Object> walker = new DescendentsWalker<Object>(
TreeWalkPriority
.VisualTree, VerifyNoServiceOnNode, null);
1192
DescendentsWalker<List<IAttachedAnnotation>> walker = new DescendentsWalker<List<IAttachedAnnotation>>(
TreeWalkPriority
.VisualTree, GetAttachedAnnotationsFor, result);
System\Windows\BroadcastEventHelper.cs (1)
266
TreeWalkPriority
.VisualTree, BroadcastDelegate, new BroadcastEventData(root, routedEvent, eventRoute));
System\Windows\DescendentsWalker.cs (5)
25
public DescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> callback) :
31
public DescendentsWalker(
TreeWalkPriority
priority, VisitedCallback<T> callback, T data)
63
continueWalk = _callback(_startNode, _data, _priority ==
TreeWalkPriority
.VisualTree);
89
if (_priority ==
TreeWalkPriority
.VisualTree)
93
else if (_priority ==
TreeWalkPriority
.LogicalTree)
System\Windows\DescendentsWalkerBase.cs (2)
23
protected DescendentsWalkerBase(
TreeWalkPriority
priority)
71
internal
TreeWalkPriority
_priority;
System\Windows\TreeWalkHelper.cs (3)
130
TreeWalkPriority
.LogicalTree, TreeChangeDelegate, TreeChangePostDelegate, parentInfo);
490
TreeWalkPriority
.LogicalTree, ResourcesChangeDelegate, info);
927
TreeWalkPriority
.LogicalTree, InheritablePropertyChangeDelegate, info);