1 write to _targetProperty
Microsoft.Maui.Controls (1)
17 references to _targetProperty
Microsoft.Maui.Controls (17)
MultiBinding.cs (17)
88 if (this.GetRealizedMode(_targetProperty) == BindingMode.OneTime)
91 if (fromTarget && this.GetRealizedMode(_targetProperty) == BindingMode.OneWay)
94 if (!fromTarget && this.GetRealizedMode(_targetProperty) == BindingMode.OneWayToSource)
99 var value = GetSourceValue(GetValueArray(), _targetProperty.ReturnType);
103 if (!BindingExpressionHelper.TryConvert(ref value, _targetProperty, _targetProperty.ReturnType, true))
105 BindingDiagnostics.SendBindingFailure(this, null, _targetObject, _targetProperty, "MultiBinding", BindingExpression.CannotConvertTypeErrorMessage, value, _targetProperty.ReturnType);
108 _targetObject.SetValueCore(_targetProperty, value, SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity: SetterSpecificity.FromBinding);
119 if (!(GetTargetValue(_targetObject.GetValue(_targetProperty), null) is object[] values)) //converter failed
169 if (this.GetRealizedMode(_targetProperty) == BindingMode.OneWayToSource)
172 var value = GetSourceValue(GetValueArray(), _targetProperty.ReturnType);
176 if (!BindingExpressionHelper.TryConvert(ref value, _targetProperty, _targetProperty.ReturnType, true))
178 BindingDiagnostics.SendBindingFailure(this, context, _targetObject, _targetProperty, "MultiBinding", BindingExpression.CannotConvertTypeErrorMessage, value, _targetProperty.ReturnType);
181 _targetObject.SetValueCore(_targetProperty, value, SetValueFlags.ClearDynamicResource, BindableObject.SetValuePrivateFlags.Default | BindableObject.SetValuePrivateFlags.Converted, specificity);