The images are displayed in the XAML but when I run the program the images aren't displayed in the list boxes. It just shows the boxes but without the images.
here is the code:
<ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Hidden" Margin="103,156,67.6,65">
<ListBox>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel IsItemsHost="True" Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBoxItem>
<Image Margin="0,0,20,0" Width="225" Source="pictures/gw1.jpg"></Image>
</ListBoxItem>
<ListBoxItem>
<Image Margin="0,0,20,0" Width="225" Source="pictures/ja2.jpg"></Image>
</ListBoxItem>
<ListBoxItem>
<Image Margin="0,0,20,0" Width="225" Source="pictures/tj3.jpg"></Image>
</ListBoxItem>
</ListBox>
</ScrollViewer>