Computer Magic Logo
Image path

Tuesday, May 3, 2016

Published by Aristotelis Pitaridis

We can add pictures in the shared project of the solution and use it in all platforms in order to display graphics in our application. First of all we have to make sure that the "Build Action" for all our images should be set to "Content". After that we can use the image in our Image control.

<Image x:Name="MyImage" Source="Images/pic.png" />

In the previous example we assume that the image "pic.png"