I'm developing an application with Xamarin.Forms.
I want to create an ImageButton, but I get this...
I'm developing an application with Xamarin.Forms.
I want to create an ImageButton, but I get this output:
[0:] Could not load image named: {0}: Image.png
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File: Image.png
Here is my code :
<ImageButton x:Name="Button" Grid.Row="44" Grid.Column="19" Grid.RowSpan="6" Grid.ColumnSpan="18" HorizontalOptions="CenterAndExpand" VerticalOptions="Center" Source="Image.png" Clicked="Button_Clicked" BackgroundColor="Transparent" />
Image.png is in ./Media and code in ./Page.xaml
If...