49 references to TargetProperty
PresentationFramework (49)
MS\Internal\Data\BindingWorker.cs (1)
81
protected DependencyProperty TargetProperty { get { return ParentBindingExpression.
TargetProperty
; } }
MS\Internal\TraceData.cs (2)
143
DescribeTarget(traceBuilder, bindingExpr.TargetElement, bindingExpr.
TargetProperty
);
160
DescribeTarget(traceBuilder, beb.TargetElement, beb.
TargetProperty
);
System\Windows\Data\BindingExpression.cs (13)
431
TargetProperty
.PropertyType, IsReflective);
439
TargetProperty
.PropertyType,
704
if (
TargetProperty
== FrameworkElement.DataContextProperty ||
705
(
TargetProperty
== ContentPresenter.ContentProperty &&
1068
if (IsReflective &&
TargetProperty
.IsValidValue(entry.RawValue))
1071
target.SetValue(
TargetProperty
, entry.RawValue);
1434
value != DependencyProperty.UnsetValue && !
TargetProperty
.IsValidValue(value))
1787
if (IsAttaching && RootBindingExpression == target.ReadLocalValue(
TargetProperty
))
1793
OnTargetUpdated(target,
TargetProperty
);
1811
OnSourceUpdated(target,
TargetProperty
);
2252
if (
TargetProperty
.OwnerType != typeof(System.Windows.Controls.Primitives.Selector) && // SelectedItem, SelectedValue, SelectedIndex, etc.
2253
TargetProperty
!= ComboBox.TextProperty // ComboBox.Text
2612
BindingOperations.SetBinding(target,
TargetProperty
, ParentBinding);
System\Windows\Data\BindingExpressionBase.cs (18)
807
get { return ConvertFallbackValue(ParentBindingBase.FallbackValue,
TargetProperty
, this); }
821
return
TargetProperty
.GetDefaultValue(target.DependencyObjectType);
954
if (
TargetProperty
== System.Windows.Controls.TextBox.TextProperty && IsReflective && !IsInBindingExpressionCollection)
1046
FrameworkPropertyMetadata fwMetaData =
TargetProperty
.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata;
1267
if (IsInTransfer && (
TargetProperty
== FrameworkElement.LanguageProperty))
1275
traceParameters: new object[] {
TargetProperty
.Name, this });
1278
throw new InvalidOperationException(SR.Format(SR.RequiresExplicitCulture,
TargetProperty
.Name));
1383
DependencyProperty dp =
TargetProperty
;
1485
if (Helper.IsComposing(Target,
TargetProperty
))
1529
if (
TargetProperty
!= NoTargetProperty)
1534
target.InvalidateProperty(
TargetProperty
);
1538
target.NotifySubPropertyChange(
TargetProperty
);
2086
DependencyProperty targetDP =
TargetProperty
;
2428
ChangeSources(TargetElement,
TargetProperty
, newSources);
2565
Type targetType =
TargetProperty
.PropertyType;
2586
Type targetType =
TargetProperty
.PropertyType;
2664
Type targetType =
TargetProperty
.PropertyType;
2692
targetNullValue = ConvertTargetNullValue(targetNullValue,
TargetProperty
, this);
System\Windows\Data\MultiBindingExpression.cs (11)
555
traceParameters: new object[] { Converter.GetType().Name, count, values.Length, TraceData.DescribeTarget(target,
TargetProperty
) });
573
bindExpr.SetValue(target,
TargetProperty
, value); // could pass (null, null, values[i])
629
_tempTypes[i] =
TargetProperty
.PropertyType;
1000
BindingExpressionBase bindExpr = binding.CreateBindingExpression(target,
TargetProperty
, this);
1006
bindExpr.Attach(target,
TargetProperty
);
1157
_tempValues[i] = MutableBindingExpressions[i].GetValue(target,
TargetProperty
); // could pass (null, null)
1174
preFormattedValue = Converter.Convert(_tempValues,
TargetProperty
.PropertyType, ParentMultiBinding.ConverterParameter, culture);
1290
if (value != DependencyProperty.UnsetValue && !
TargetProperty
.IsValidValue(value))
1372
if (IsAttaching && this == target.ReadLocalValue(
TargetProperty
))
1378
BindingExpression.OnTargetUpdated(target,
TargetProperty
);
1391
BindingExpression.OnSourceUpdated(target,
TargetProperty
);
System\Windows\Data\PriorityBindingExpression.cs (4)
248
object newValue = (bindExpr != null) ? bindExpr.GetValue(target,
TargetProperty
) : UseFallbackValue();
268
target.InvalidateProperty(
TargetProperty
);
514
BindingExpressionBase bindExpr = binding.CreateBindingExpression(target,
TargetProperty
, this);
520
bindExpr.Attach(target,
TargetProperty
);