Xamarin.Forms XAML onPlatform for windows desktop?

MichelHidalgoMichelHidalgo USMember ✭✭
edited May 2016 in Xamarin.Forms

Hi everyone!

I am trying to show an Image in my Xamarin.Forms app using a resourcedictionary directly in my XAML file.

I use onPlatform to set where the image is for ios, android and winphone.

I also want this to work on Windows platform (desktop UWP) but I do not know how to do this.

Tried to use Onplatform Default but it's not working.

Here is my XAML code: (Sorry tried to paste code but for some reason some blocks of code did not show up when posting)

Thank you and sorry for my English.

Answers

  • antonio_torinoantonio_torino USMember

    +1 for the question.
    I think OnPlatform should be extended adding a new property UWP.

Sign In or Register to comment.