I have a StackPanel containing five images and I want to put a black border around each image.
StackPanel
The XAML I have at the moment is:
Simply wrap the Image in a Border control
You could also provide a style you apply to images that does this if you don't want to do it around every image
Final solution from answer and comments added by Pax: