49 references to TargetProperty
PresentationFramework (49)
src\Framework\MS\Internal\Data\BindingWorker.cs (1)
88
protected DependencyProperty TargetProperty { get { return ParentBindingExpression.
TargetProperty
; } }
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\Data\BindingExpression.cs (13)
445
TargetProperty
.PropertyType, IsReflective);
453
TargetProperty
.PropertyType,
712
if (
TargetProperty
== FrameworkElement.DataContextProperty ||
713
(
TargetProperty
== ContentPresenter.ContentProperty &&
1072
if (IsReflective &&
TargetProperty
.IsValidValue(entry.RawValue))
1075
target.SetValue(
TargetProperty
, entry.RawValue);
1432
value != DependencyProperty.UnsetValue && !
TargetProperty
.IsValidValue(value))
1780
if (IsAttaching && RootBindingExpression == target.ReadLocalValue(
TargetProperty
))
1786
OnTargetUpdated(target,
TargetProperty
);
1804
OnSourceUpdated(target,
TargetProperty
);
2241
if (
TargetProperty
.OwnerType != typeof(System.Windows.Controls.Primitives.Selector) && // SelectedItem, SelectedValue, SelectedIndex, etc.
2242
TargetProperty
!= ComboBox.TextProperty // ComboBox.Text
2597
BindingOperations.SetBinding(target,
TargetProperty
, ParentBinding);
src\Framework\System\Windows\Data\BindingExpressionBase.cs (18)
821
get { return ConvertFallbackValue(ParentBindingBase.FallbackValue,
TargetProperty
, this); }
835
return
TargetProperty
.GetDefaultValue(target.DependencyObjectType);
967
if (
TargetProperty
== System.Windows.Controls.TextBox.TextProperty && IsReflective && !IsInBindingExpressionCollection)
1058
FrameworkPropertyMetadata fwMetaData =
TargetProperty
.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata;
1278
if (IsInTransfer && (
TargetProperty
== FrameworkElement.LanguageProperty))
1285
TraceData.Trace(TraceEventType.Critical, TraceData.RequiresExplicitCulture,
TargetProperty
.Name, this);
1288
throw new InvalidOperationException(SR.Get(SRID.RequiresExplicitCulture,
TargetProperty
.Name));
1393
DependencyProperty dp =
TargetProperty
;
1486
if (Helper.IsComposing(Target,
TargetProperty
))
1530
if (
TargetProperty
!= NoTargetProperty)
1535
target.InvalidateProperty(
TargetProperty
);
1539
target.NotifySubPropertyChange(
TargetProperty
);
2085
DependencyProperty targetDP =
TargetProperty
;
2427
ChangeSources(TargetElement,
TargetProperty
, newSources);
2572
Type targetType =
TargetProperty
.PropertyType;
2593
Type targetType =
TargetProperty
.PropertyType;
2671
Type targetType =
TargetProperty
.PropertyType;
2699
targetNullValue = ConvertTargetNullValue(targetNullValue,
TargetProperty
, this);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (11)
566
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)
1184
preFormattedValue = Converter.Convert(_tempValues,
TargetProperty
.PropertyType, ParentMultiBinding.ConverterParameter, culture);
1296
if (value != DependencyProperty.UnsetValue && !
TargetProperty
.IsValidValue(value))
1374
if (IsAttaching && this == target.ReadLocalValue(
TargetProperty
))
1380
BindingExpression.OnTargetUpdated(target,
TargetProperty
);
1393
BindingExpression.OnSourceUpdated(target,
TargetProperty
);
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (4)
259
object newValue = (bindExpr != null) ? bindExpr.GetValue(target,
TargetProperty
) : UseFallbackValue();
278
target.InvalidateProperty(
TargetProperty
);
524
BindingExpressionBase bindExpr = binding.CreateBindingExpression(target,
TargetProperty
, this);
530
bindExpr.Attach(target,
TargetProperty
);