Here is the solution:
<grid Height="limitHight" Width="limitWidth">
<Image Horizontalalignment="Center"
Verticalalignment="Center"
Stretch="UniformToFill"/>
</grid>
You just need to change Height and Width properties of the container. It works fine.
Maybe there is a better solution. But I still don't know.
No comments:
Post a Comment