var playButton = new ImageButton
{
Source = ImageSource.FromFile("Images/MainMenuBts/play.png"), // Or try .FromResource for embedded resources
BackgroundColor = Colors.Transparent,
WidthRequest = scaleImages.Scaling(),
HeightRequest = scaleImages.Scaling(),
};
By ensuring that images are correctly placed in the Resources\Images
folder, confirming the correct usage of ImageSource
, and considering platform-specific paths, you should be able to make the images visible on Windows. If the issue persists, try debugging the image paths and verify if any platform-specific behavior is affecting the image loading.