I want to show multiple image on a canvas. I need to position them differently in the canvas. I made a class for my images :
class MapItem:Image { public
An ItemsControl wraps each item in a ContentPresenter, so the style in ItemContainerStyle is for the ContentPresenter, not the Image
ItemsControl
ContentPresenter
ItemContainerStyle
Image
If you remove TargetType="Image" from your style it should work fine
TargetType="Image"