How to reference Asset Catalog Vector Images from Forms XAML Markup?

DomCSDomCS DEMember ✭✭


using Visual Studio for Mac.

I exploring Xamarin Forms and XAML Markup and reach the point of trying to figure out how to work with images (iOS and Android). So looks like I need to manage iOS and Android manually and separately. I started with the iOS asset catalog (Assets.xcassets) where I added several imagesets and assigned PDFs into their "Vector" slots thinking that it should create all permutations for me under the hood.

Now how do I reference them from within XAML markup? E.g. for images, buttons etc. Tried various markup snippets I saw on the web but nothing worked for me so far.

And how can I verify that it's actually generating all those images under the hood.


Sign In or Register to comment.