Reputation: 628
How can I set an svg image as the page background in xamarin.forms? I have tried to use
BackgroundImage = "image.svg";
But it is not working.
Upvotes: 2
Views: 1099
Reputation: 589
You may use a component name 'XamSvg' on xamarin component store. This component can use svg as an image on every plaform including xamarin.forms .
Upvotes: 0
Reputation: 89102
Not every Xamarin Forms platform supports SVG, so that won't work. You can only use PNG or JPG, or write a custom platform rendered for SVG.
Upvotes: 2