0

I want to display image in its actual size with a ScrollViewer. I've put the Image Control in a scrollviewer but found that the scrollviewer has no effect. The picture shows is either resized to fit the Image Control or only show a part of it, with no scrollbar. What's the problem?

4

1 回答 1

3

Stretch="None"
and if nedded HorizontalScrollBarVisibility="Auto" on the scrollViewer

<ScrollViewer>
    <Image Source="C:\Untitled.bmp" Stretch="None"/>
</ScrollViewer>
于 2013-03-10T07:38:43.367 回答