@Mr. Popadiyn,
In that case the image is added like a content of the stack panel and not as a background. If you want to add additional content to the panel, it will get added below or next to the images (depending on the orientation).
In order to specify an image background for the StackPanel, use the Background property in the following way:
<
StackPanel
Width
=
"500"
Height
=
"500"
Orientation
=
"Vertical"
>
<
StackPanel.Background
>
<
ImageBrush
ImageSource
=
"/SilverlightApplication1;component/images/background1.png"
Stretch
=
"None"
/>
</
StackPanel.Background
>
</
StackPanel
>
However there is no way to make the background to repeat. As far as I know it is not possible in Silverlight. In WPF there is a TileMode property on the ImageBrush which allows you to do this.
Greets,
Martin