49 references to TargetProperty
PresentationFramework (49)
MS\Internal\Data\BindingWorker.cs (1)
85
protected DependencyProperty TargetProperty { get { return ParentBindingExpression.
TargetProperty
; } }
MS\Internal\TraceData.cs (2)
148
DescribeTarget(traceBuilder, bindingExpr.TargetElement, bindingExpr.
TargetProperty
);
165
DescribeTarget(traceBuilder, beb.TargetElement, beb.
TargetProperty
);
System\Windows\Data\BindingExpression.cs (13)
440
TargetProperty
.PropertyType, IsReflective);
448
TargetProperty
.PropertyType,
713
if (
TargetProperty
== FrameworkElement.DataContextProperty ||
714
(
TargetProperty
== ContentPresenter.ContentProperty &&
1077
if (IsReflective &&
TargetProperty
.IsValidValue(entry.RawValue))
1080
target.SetValue(
TargetProperty
, entry.RawValue);
1443
value != DependencyProperty.UnsetValue && !
TargetProperty
.IsValidValue(value))
1796
if (IsAttaching && RootBindingExpression == target.ReadLocalValue(
TargetProperty
))
1802
OnTargetUpdated(target,
TargetProperty
);
1820
OnSourceUpdated(target,
TargetProperty
);
2261
if (
TargetProperty
.OwnerType != typeof(System.Windows.Controls.Primitives.Selector) && // SelectedItem, SelectedValue, SelectedIndex, etc.
2262
TargetProperty
!= ComboBox.TextProperty // ComboBox.Text
2621
BindingOperations.SetBinding(target,
TargetProperty
, ParentBinding);
System\Windows\Data\BindingExpressionBase.cs (18)
815
get { return ConvertFallbackValue(ParentBindingBase.FallbackValue,
TargetProperty
, this); }
829
return
TargetProperty
.GetDefaultValue(target.DependencyObjectType);
962
if (
TargetProperty
== System.Windows.Controls.TextBox.TextProperty && IsReflective && !IsInBindingExpressionCollection)
1054
FrameworkPropertyMetadata fwMetaData =
TargetProperty
.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata;
1275
if (IsInTransfer && (
TargetProperty
== FrameworkElement.LanguageProperty))
1283
traceParameters: new object[] {
TargetProperty
.Name, this });
1286
throw new InvalidOperationException(SR.Format(SR.RequiresExplicitCulture,
TargetProperty
.Name));
1391
DependencyProperty dp =
TargetProperty
;
1493
if (Helper.IsComposing(Target,
TargetProperty
))
1537
if (
TargetProperty
!= NoTargetProperty)
1542
target.InvalidateProperty(
TargetProperty
);
1546
target.NotifySubPropertyChange(
TargetProperty
);
2094
DependencyProperty targetDP =
TargetProperty
;
2436
ChangeSources(TargetElement,
TargetProperty
, newSources);
2573
Type targetType =
TargetProperty
.PropertyType;
2594
Type targetType =
TargetProperty
.PropertyType;
2672
Type targetType =
TargetProperty
.PropertyType;
2700
targetNullValue = ConvertTargetNullValue(targetNullValue,
TargetProperty
, this);
System\Windows\Data\MultiBindingExpression.cs (11)
566
traceParameters: new object[] { Converter.GetType().Name, count, values.Length, TraceData.DescribeTarget(target,
TargetProperty
) });
584
bindExpr.SetValue(target,
TargetProperty
, value); // could pass (null, null, values[i])
640
_tempTypes[i] =
TargetProperty
.PropertyType;
1011
BindingExpressionBase bindExpr = binding.CreateBindingExpression(target,
TargetProperty
, this);
1017
bindExpr.Attach(target,
TargetProperty
);
1168
_tempValues[i] = MutableBindingExpressions[i].GetValue(target,
TargetProperty
); // could pass (null, null)
1185
preFormattedValue = Converter.Convert(_tempValues,
TargetProperty
.PropertyType, ParentMultiBinding.ConverterParameter, culture);
1301
if (value != DependencyProperty.UnsetValue && !
TargetProperty
.IsValidValue(value))
1383
if (IsAttaching && this == target.ReadLocalValue(
TargetProperty
))
1389
BindingExpression.OnTargetUpdated(target,
TargetProperty
);
1402
BindingExpression.OnSourceUpdated(target,
TargetProperty
);
System\Windows\Data\PriorityBindingExpression.cs (4)
255
object newValue = (bindExpr != null) ? bindExpr.GetValue(target,
TargetProperty
) : UseFallbackValue();
275
target.InvalidateProperty(
TargetProperty
);
521
BindingExpressionBase bindExpr = binding.CreateBindingExpression(target,
TargetProperty
, this);
527
bindExpr.Attach(target,
TargetProperty
);