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