4 references to TryConvert
Microsoft.Maui.Controls (2)
BindableProperty.cs (1)
235 if (TypeConversionHelper.TryConvert(value, returnType, out var convertedValue))
Xaml\TypeConversionExtensions.cs (1)
221 if (TypeConversionHelper.TryConvert(value, toType, out var convertedValue))
Microsoft.Maui.Controls.Xaml (2)
CreateValuesVisitor.cs (1)
268 if (!TypeConversionHelper.TryConvert(arguments[i], p[i].ParameterType, out var convertedValue))
MarkupExtensions\StaticResourceExtension.cs (1)
47 if (TypeConversionHelper.TryConvert(value, propertyType, out var convertedValue))