Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OnPlatform workaround for the assets issue on Xamarin.Forms UWP
<Image>
<Image.Source>
<OnPlatform x:TypeArguments="FileImageSource">
<On Platform="iOS, Android" Value="image.png" />
<On Platform="UWP" Value="Assets/image.png" />
</OnPlatform>
</Image.Source>
</Image>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.