59 references to TargetElement
PresentationFramework (59)
src\Framework\MS\Internal\Data\BindingWorker.cs (1)
87
protected DependencyObject TargetElement { get { return ParentBindingExpression.
TargetElement
; } }
src\Framework\MS\Internal\Data\CommitManager.cs (2)
87
DependencyObject owner = binding.
TargetElement
;
116
DependencyObject owner = binding.
TargetElement
;
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
432
DependencyObject target = ParentBindingExpression.
TargetElement
;
src\Framework\MS\Internal\TraceData.cs (2)
149
DescribeTarget(traceBuilder, bindingExpr.
TargetElement
, bindingExpr.TargetProperty);
166
DescribeTarget(traceBuilder, beb.
TargetElement
, beb.TargetProperty);
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
562
DependencyObject targetElement = beb.
TargetElement
;
664
DependencyObject targetElement = beb.
TargetElement
;
src\Framework\System\Windows\Data\BindingExpression.cs (18)
118
DependencyObject target =
TargetElement
;
144
get { return !UsingMentor ?
TargetElement
: Helper.FindMentor(
TargetElement
); }
170
DependencyObject target =
TargetElement
;
243
else if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d ==
TargetElement
)
583
DependencyObject target =
TargetElement
;
615
DependencyObject target =
TargetElement
;
872
DependencyObject target =
TargetElement
;
895
DependencyObject target =
TargetElement
;
943
DependencyObject target =
TargetElement
;
1259
DependencyObject target =
TargetElement
;
1402
value = ConvertHelper(implicitConverter, value, targetType,
TargetElement
, GetCulture());
1766
DependencyObject target =
TargetElement
;
1797
DependencyObject target =
TargetElement
;
1910
value = ConvertBackHelper(implicitConverter, value, sourceType, this.
TargetElement
, culture);
2258
DependencyObject target =
TargetElement
;
2591
DependencyObject target =
TargetElement
;
2663
if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d ==
TargetElement
)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (12)
201
public DependencyObject Target { get { return
TargetElement
; } }
832
DependencyObject target =
TargetElement
;
969
System.Windows.Controls.Primitives.TextBoxBase tbb =
TargetElement
as System.Windows.Controls.Primitives.TextBoxBase;
1029
LostFocusEventManager.RemoveHandler(
TargetElement
, OnLostFocus);
1055
DependencyObject target =
TargetElement
;
1275
DependencyObject target =
TargetElement
;
1507
if (IsUpdateDeferredForComposition && e.TextComposition.Source ==
TargetElement
&& e.TextComposition.Stage == System.Windows.Input.TextCompositionStage.Done)
1523
DependencyObject target =
TargetElement
;
1750
FrameworkObject fo = new FrameworkObject(Helper.FindMentor(
TargetElement
));
2382
Validation.AddValidationError(validationError,
TargetElement
, NotifyOnValidationError);
2398
Validation.RemoveValidationError(validationError,
TargetElement
, NotifyOnValidationError);
2427
ChangeSources(
TargetElement
, TargetProperty, newSources);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (14)
93
get { return !UsingMentor ?
TargetElement
: Helper.FindMentor(
TargetElement
); }
188
DependencyObject target =
TargetElement
;
237
WeakDependencySource[] commonSources = new WeakDependencySource[] { new WeakDependencySource(
TargetElement
, FrameworkElement.LanguageProperty) };
359
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
;
1367
DependencyObject target =
TargetElement
;
1390
DependencyObject target =
TargetElement
;
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (4)
196
DependencyObject target =
TargetElement
;
243
DependencyObject target =
TargetElement
;
305
DependencyObject target =
TargetElement
;
518
DependencyObject target =
TargetElement
;
src\Framework\System\Windows\StyleHelper.cs (3)
5132
DependencyObject container = bindingExpr.
TargetElement
;
5169
DependencyObject container = bindingExpr.
TargetElement
;
5212
DependencyObject container = bindingExpr.
TargetElement
;