1 write to Binding
Microsoft.Maui.Controls (1)
BindingExpression.cs (1)
35 Binding = binding ?? throw new ArgumentNullException(nameof(binding));
13 references to Binding
Microsoft.Maui.Controls (13)
BindingExpression.cs (13)
68 if (Binding is Binding { Source: var source, DataType: Type dataType }) 76 BindingDiagnostics.SendBindingFailure(Binding, "Binding", $"Mismatch between the specified x:DataType ({dataType}) and the current binding context ({sourceObject.GetType()})."); 123 BindingMode mode = Binding.GetRealizedMode(_targetProperty); 153 BindingDiagnostics.SendBindingFailure(Binding, current, target, property, "Binding", PropertyNotFoundErrorMessage, part.Content, current, target.GetType(), property.PropertyName); 168 value = Binding.GetSourceValue(value, property.ReturnType); 171 value = Binding.FallbackValue ?? property.GetDefaultValue(target); 175 BindingDiagnostics.SendBindingFailure(Binding, current, target, property, "Binding", CannotConvertTypeErrorMessage, value, property.ReturnType); 183 object value = Binding.GetTargetValue(target.GetValue(property), part.SetterType); 187 BindingDiagnostics.SendBindingFailure(Binding, current, target, property, "Binding", CannotConvertTypeErrorMessage, value, part.SetterType); 334 BindingDiagnostics.SendBindingFailure(Binding, "Binding", ParseIndexErrorMessage, part.Content, sourceType); 404 if (Binding.AllowChaining) 508 !(this.Binding is Binding binding)) 532 !(this.Binding is Binding binding))