Skip to content

Howto set MinWidth or MinHeight of a WinRT ScrollViewer

I use the ScrollViewer control in a windows 8 metro app in order to zoom in/out an image. The problem now is, that it is possible to zoom in the image untill you almost can't zoom out again(because the image gets so small). I've tried MinWidth and MinHeigt on the ScrollViewer and on the image, but it didn't work. After some time i found the MinZoomFactor of the ScrollViewer, and this now works. It was just not obvious to me...

  
        
            
                
            
        
    

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

CBD on :

I surely acquiring more difficulties from each surprisingly more little bit of it

Add Comment

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Markdown format allowed
Form options