Jimmy Underwood

Jimmy Underwood

  • NA
  • 118
  • 83k

XAML - Image scale

Mar 2 2012 6:28 AM
Hi,


I have a xml file containing 1 small graphic and 1 big graphic.In my XAML i have a column that contains both graphics. But the problem is that the first grahic is smaller then the column, so it was scaling the image up, to fit the column... dont know why! Anyway, I was setting the attribute Strech="None" to the < Image> element, and it worked out great, accept that the bigger graphic now is to big for the column, so it cuts the graphic in half!

What can I do?

I tried Strech="None" together with MaxWidth="8cm", not helping the bigger graphic to be scaled down. I want that graphics never should be scaling up, only down when needed.