10 references to ConvertTo
Microsoft.Maui.Controls (2)
StyleSheets\Style.cs (1)
122 var ret = value.ConvertTo(property.ReturnType, minforetriever, serviceProvider, out Exception exception);
Xaml\ValueConverterProvider.cs (1)
15 var ret = value.ConvertTo(toType, minfoRetriever, serviceProvider, out Exception exception);
Microsoft.Maui.Controls.Xaml (8)
ApplyPropertiesVisitor.cs (2)
602 var convertedValue = value.ConvertTo(property.ReturnType, minforetriever, serviceProvider, out exception); 671 object convertedValue = value.ConvertTo(propertyInfo.PropertyType, () => propertyInfo, serviceProvider, out exception);
CreateValuesVisitor.cs (1)
98 var converted = ((ValueNode)node.CollectionItems.First()).Value.ConvertTo(type, () => type,
MarkupExtensions\AppThemeBindingExtension.cs (3)
118 binding.Light = Light.ConvertTo(propertyType, minforetriever, serviceProvider, out converterException); 120 binding.Dark = Dark.ConvertTo(propertyType, minforetriever, serviceProvider, out converterException); 122 binding.Default = Default.ConvertTo(propertyType, minforetriever, serviceProvider, out converterException);
MarkupExtensions\OnIdiomExtension.cs (1)
103 var ret = value.ConvertTo(propertyType, () => pi, serviceProvider, out Exception exception);
MarkupExtensions\OnPlatformExtension.cs (1)
122 var ret = value.ConvertTo(propertyType, () => pi, serviceProvider, out Exception exception);