luberda-molinet / FFImageLoading

Image loading, caching & transforming library for Xamarin and Windows
MIT License
1.42k stars 377 forks source link

SVG as Button Image Source in XAML #981

Open jean-sl opened 6 years ago

jean-sl commented 6 years ago

Description

Is it possible to add an svg to the image source of a XAML button?

Basic Information

Reproduction Link / Code

<!-- Home --> <Button Clicked="" Grid.Row="0" Grid.Column="0" InputTransparent="True" Image="FFImageLoading SVG" Style="" Text="home"> </Button>

daniel-luberda commented 6 years ago

@jean-sl Unluckily, Xamarin.Forms.Button only supports FileImageSource :< - custom renderers are needed. It would be really nice to add it to Xamarin.FFImageLoading.Forms package.

candidodmv commented 6 years ago

@jean-sl I'm with the same need and i did a implementation based on this another plugin https://github.com/jsmarcus/Iconize

As you can see on above link, there are custom renders implementations for each platform, basically what you need to do is ajust to use with the @daniel-luberda plugin.

good luck

redradist commented 5 years ago

Guys is there any progress ?

cbs-cbt commented 5 years ago

Hello, Is there any progress ?

pablortpo commented 4 years ago

Hi Team, please any avancess