Jay Patel
Jay Patel

Reputation: 628

SVG image as Page Background xamarin

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

Answers (2)

jojobarcream
jojobarcream

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

Jason
Jason

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

Related Questions