59 references to TargetElement
PresentationFramework (59)
MS\Internal\Data\BindingWorker.cs (1)
84protected DependencyObject TargetElement { get { return ParentBindingExpression.TargetElement; } }
MS\Internal\Data\CommitManager.cs (2)
83DependencyObject owner = binding.TargetElement; 112DependencyObject owner = binding.TargetElement;
MS\Internal\Data\XmlBindingWorker.cs (1)
433DependencyObject target = ParentBindingExpression.TargetElement;
MS\Internal\TraceData.cs (2)
148DescribeTarget(traceBuilder, bindingExpr.TargetElement, bindingExpr.TargetProperty); 165DescribeTarget(traceBuilder, beb.TargetElement, beb.TargetProperty);
System\Windows\Controls\DataGridHelper.cs (2)
563DependencyObject targetElement = beb.TargetElement; 665DependencyObject targetElement = beb.TargetElement;
System\Windows\Data\BindingExpression.cs (18)
116DependencyObject target = TargetElement; 142get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 168DependencyObject target = TargetElement; 238else if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement) 580DependencyObject target = TargetElement; 612DependencyObject target = TargetElement; 875DependencyObject target = TargetElement; 898DependencyObject target = TargetElement; 946DependencyObject target = TargetElement; 1266DependencyObject target = TargetElement; 1412value = ConvertHelper(implicitConverter, value, targetType, TargetElement, GetCulture()); 1782DependencyObject target = TargetElement; 1813DependencyObject target = TargetElement; 1928value = ConvertBackHelper(implicitConverter, value, sourceType, this.TargetElement, culture); 2278DependencyObject target = TargetElement; 2615DependencyObject target = TargetElement; 2688if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement)
System\Windows\Data\BindingExpressionBase.cs (12)
198public DependencyObject Target { get { return TargetElement; } } 826DependencyObject target = TargetElement; 964System.Windows.Controls.Primitives.TextBoxBase tbb = TargetElement as System.Windows.Controls.Primitives.TextBoxBase; 1025LostFocusEventManager.RemoveHandler(TargetElement, OnLostFocus); 1051DependencyObject target = TargetElement; 1272DependencyObject target = TargetElement; 1514if (IsUpdateDeferredForComposition && e.TextComposition.Source == TargetElement && e.TextComposition.Stage == System.Windows.Input.TextCompositionStage.Done) 1530DependencyObject target = TargetElement; 1757FrameworkObject fo = new FrameworkObject(Helper.FindMentor(TargetElement)); 2391Validation.AddValidationError(validationError, TargetElement, NotifyOnValidationError); 2407Validation.RemoveValidationError(validationError, TargetElement, NotifyOnValidationError); 2436ChangeSources(TargetElement, TargetProperty, newSources);
System\Windows\Data\MultiBindingExpression.cs (14)
89get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 184DependencyObject target = TargetElement; 236WeakDependencySource[] commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 358DependencyObject target = TargetElement; 401DependencyObject target = TargetElement; 454commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 468DependencyObject target = TargetElement; 510DependencyObject target = TargetElement; 1002DependencyObject target = TargetElement; 1037if (UsesLanguage && d == TargetElement && dp == FrameworkElement.LanguageProperty) 1154DependencyObject target = TargetElement; 1376DependencyObject target = TargetElement; 1399DependencyObject target = TargetElement;
System\Windows\Data\PriorityBindingExpression.cs (4)
192DependencyObject target = TargetElement; 239DependencyObject target = TargetElement; 302DependencyObject target = TargetElement; 515DependencyObject target = TargetElement;
System\Windows\StyleHelper.cs (3)
5132DependencyObject container = bindingExpr.TargetElement; 5169DependencyObject container = bindingExpr.TargetElement; 5212DependencyObject container = bindingExpr.TargetElement;