31 references to FindMentor
PresentationFramework (31)
MS\Internal\Data\ObjectRef.cs (2)
185parent = Helper.FindMentor(d.InheritanceContext); 251parent = Helper.FindMentor(dd.InheritanceContext);
MS\Internal\FrameworkObject.cs (2)
255foParent.Reset(Helper.FindMentor(_fe.InheritanceContext)); 286foParent.Reset(Helper.FindMentor(_fce.InheritanceContext));
System\Windows\BroadcastEventHelper.cs (1)
656parent = Helper.FindMentor(fo.DO.InheritanceContext);
System\Windows\Data\BindingExpression.cs (8)
112DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 133get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 515DependencyObject mentor = Helper.FindMentor(target); 665DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 894target = Helper.FindMentor(target); 2272target = Helper.FindMentor(target); 2625fo.Reset(Helper.FindMentor(d)); 2640fo.Reset(Helper.FindMentor(d));
System\Windows\Data\BindingExpressionBase.cs (1)
1749FrameworkObject fo = new FrameworkObject(Helper.FindMentor(TargetElement));
System\Windows\Data\BindingGroup.cs (10)
285DependencyObject mentor = Helper.FindMentor(this); 597UIElement layoutElement = Helper.FindMentor(this) as UIElement; 737DependencyObject mentor = Helper.FindMentor(this); 747DependencyObject mentor = Helper.FindMentor(this); 770DependencyObject mentor = Helper.FindMentor(this); 815DependencyObject mentor = Helper.FindMentor(this); 914DependencyObject mentor = Helper.FindMentor(this); 954DependencyObject mentor = Helper.FindMentor(this); 1020DependencyObject mentor = Helper.FindMentor(this); 1309DependencyObject mentor = Helper.FindMentor(this);
System\Windows\Data\MultiBindingExpression.cs (1)
78get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); }
System\Windows\FrameworkElement.cs (1)
1770d = (parent != null) ? parent : Helper.FindMentor(d.InheritanceContext);
System\Windows\Generated\FrameworkContentElement.cs (1)
820DependencyObject newMentor = Helper.FindMentor(InheritanceContext);
System\Windows\Generated\FrameworkElement.cs (1)
852DependencyObject newMentor = Helper.FindMentor(InheritanceContext);
System\Windows\Media\Animation\Storyboard.cs (2)
427DependencyObject mentor = Helper.FindMentor(containingObject); 536DependencyObject mentor = Helper.FindMentor(containingObject);
System\Windows\ResourceReferenceExpression.cs (1)
95_mentorCache = Helper.FindMentor(d);