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