WPF: Stretched Image Bigger than grid does not render fully -
hi image in xaml such
<image name="bgimg" width="2000" stretch="uniformtofill" height="auto" verticalalignment="stretch" horizontalalignment="stretch" source="./images/temasekgrandmap(kumar).png"> set in grid. when load page see big image, correct, when scroll right of browser image off-screen gone, not rendered. how solve this?
since have stretch="uniformtofill" in image, may maximum height image within panel not big enough, or because of intial source image aspect ratio. try high grid , image having 'right' aspect ratio verify, you'll have think size/stretch constaints want set on image.
Comments
Post a Comment