I think that you should be able to do that by using the Viewbox
Class. From the linked page: Defines a content decorator that can stretch and scale a single child to fill the available space. You literally add one to your Window
and set your Image
as the contents and then you can set properties to control which part of the image it displays:
<ViewBox Width="500" Height="500" Stretch="Uniform">
<Image Source="Images/SomeImage.jpg" Width="300" Height="300"
Margin="-48,-18,-36,-24" />
</ViewBox>
Experiment with the different StretchDirection
values and set the Margin
to negative values to crop. There are examples in the linked page, but let me know if you need more help.