Answer the question
In order to leave comments, you need to log in
Why is the image not showing on the button?
I add a .png file to the project, make it an Embedded Resource
In XAML I wrote this:
<Button x:Name="Mem_1"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
CornerRadius="5"
ImageSource="Res\traicer.png">
</Button>
Image image = new Image();
image.Source = ImageSource.FromResource("MemesCompilatiobApp.Res.traicer.png");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question