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