59 references to TargetElement
PresentationFramework (59)
MS\Internal\Data\BindingWorker.cs (1)
80protected DependencyObject TargetElement { get { return ParentBindingExpression.TargetElement; } }
MS\Internal\Data\CommitManager.cs (2)
77DependencyObject owner = binding.TargetElement; 106DependencyObject owner = binding.TargetElement;
MS\Internal\Data\XmlBindingWorker.cs (1)
427DependencyObject target = ParentBindingExpression.TargetElement;
MS\Internal\TraceData.cs (2)
143DescribeTarget(traceBuilder, bindingExpr.TargetElement, bindingExpr.TargetProperty); 160DescribeTarget(traceBuilder, beb.TargetElement, beb.TargetProperty);
System\Windows\Controls\DataGridHelper.cs (2)
557DependencyObject targetElement = beb.TargetElement; 659DependencyObject targetElement = beb.TargetElement;
System\Windows\Data\BindingExpression.cs (18)
107DependencyObject target = TargetElement; 133get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 159DependencyObject target = TargetElement; 229else if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement) 571DependencyObject target = TargetElement; 603DependencyObject target = TargetElement; 866DependencyObject target = TargetElement; 889DependencyObject target = TargetElement; 937DependencyObject target = TargetElement; 1257DependencyObject target = TargetElement; 1403value = ConvertHelper(implicitConverter, value, targetType, TargetElement, GetCulture()); 1773DependencyObject target = TargetElement; 1804DependencyObject target = TargetElement; 1919value = ConvertBackHelper(implicitConverter, value, sourceType, this.TargetElement, culture); 2269DependencyObject target = TargetElement; 2606DependencyObject target = TargetElement; 2679if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement)
System\Windows\Data\BindingExpressionBase.cs (12)
190public DependencyObject Target { get { return TargetElement; } } 818DependencyObject target = TargetElement; 956System.Windows.Controls.Primitives.TextBoxBase tbb = TargetElement as System.Windows.Controls.Primitives.TextBoxBase; 1017LostFocusEventManager.RemoveHandler(TargetElement, OnLostFocus); 1043DependencyObject target = TargetElement; 1264DependencyObject target = TargetElement; 1506if (IsUpdateDeferredForComposition && e.TextComposition.Source == TargetElement && e.TextComposition.Stage == System.Windows.Input.TextCompositionStage.Done) 1522DependencyObject target = TargetElement; 1749FrameworkObject fo = new FrameworkObject(Helper.FindMentor(TargetElement)); 2383Validation.AddValidationError(validationError, TargetElement, NotifyOnValidationError); 2399Validation.RemoveValidationError(validationError, TargetElement, NotifyOnValidationError); 2428ChangeSources(TargetElement, TargetProperty, newSources);
System\Windows\Data\MultiBindingExpression.cs (14)
78get { return !UsingMentor ? TargetElement : Helper.FindMentor(TargetElement); } 173DependencyObject target = TargetElement; 225WeakDependencySource[] commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 347DependencyObject target = TargetElement; 390DependencyObject target = TargetElement; 443commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 457DependencyObject target = TargetElement; 499DependencyObject target = TargetElement; 991DependencyObject target = TargetElement; 1026if (UsesLanguage && d == TargetElement && dp == FrameworkElement.LanguageProperty) 1143DependencyObject target = TargetElement; 1365DependencyObject target = TargetElement; 1388DependencyObject target = TargetElement;
System\Windows\Data\PriorityBindingExpression.cs (4)
185DependencyObject target = TargetElement; 232DependencyObject target = TargetElement; 295DependencyObject target = TargetElement; 508DependencyObject target = TargetElement;
System\Windows\StyleHelper.cs (3)
5126DependencyObject container = bindingExpr.TargetElement; 5163DependencyObject container = bindingExpr.TargetElement; 5206DependencyObject container = bindingExpr.TargetElement;