C#C
C#14mo ago
Erich21

Image sources.

Hello, I'm currently developing a game in c# and i have several questions regarding images in WPF.
First, I'd like to know some help regarding this exception.
Secondly, is it possible to define multiple images in the XAML, but display them only when needed?
this is how my current image looks, it is inside a grid
<Image Name="testImage" Canvas.Top="46" Canvas.Left="214" HorizontalAlignment="Left" VerticalAlignment="Center"></Image>
image.png
image.png
Was this page helpful?