8 references to ConvertTo
Microsoft.Maui.Controls (4)
Xaml\TypeConversionExtensions.cs (4)
59
return
ConvertTo
(value, toType, getConverter, serviceProvider, out exception);
84
return
ConvertTo
(value, toType, getConverter, serviceProvider, out exception);
118
ret = value.
ConvertTo
(toType, (Func<TypeConverter>)null, serviceProvider, out exception);
124
ret = value.
ConvertTo
(toType, getConverter, serviceProvider, out exception);
Microsoft.Maui.Controls.Xaml (4)
ApplyPropertiesVisitor.cs (3)
174
addMethod.Invoke(source, new[] { value.
ConvertTo
(addMethod.GetParameters()[0].ParameterType, (Func<TypeConverter>)null, new XamlServiceProvider(node, Context), out xpe) });
753
addMethod.Invoke(collection, new[] { value.
ConvertTo
(addMethod.GetParameters()[0].ParameterType, (Func<TypeConverter>)null, serviceProvider, out exception) });
821
addMethod.Invoke(collection, new[] { value.
ConvertTo
(addMethod.GetParameters()[0].ParameterType, (Func<TypeConverter>)null, serviceProvider, out exception) });
MarkupExtensionParser.cs (1)
99
value = strValue.
ConvertTo
(markupExtension.GetType().GetRuntimeProperty(prop).PropertyType,