Reputation: 123
I am trying to display an image using the latest version of winui, without success. Due to my lack of progress I assume I must be doing something terribly wrong, however, I can't determine what that might be.
Here is my most recent attempt.
MainWindow.xaml:
<Image Source="AppIcon.png" Width="200" Height="200" ImageFailed="ImageFailed_Event"/>
Upvotes: 1
Views: 3200
Reputation: 123
Ok here is the solution that I have found with the help of the people in the comments:
This is all that is necessary, no URI magic is needed.
Upvotes: 3