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

Tom Hardy Jacket on :

I clearly stumbled upon your weblog and favored to mention that I’ve truely loved reading your blog posts. anyhow I’ll be subscribing in your feed and that i wish you submit once more quickly. Please keeps it top posting! thanks you a lot, I recognize your work.

cm browser on :

thank for sharing this awesome post love to read this

chamelephon on :

waoooo Sooo Niceeee. I really like it.

Makeup Plus on :

Thanks for sharing this information with us, your website is really awesome.

doctor who merchandise on :

This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.

Captain Marvel Costume on :

From that blog, we have been added to our information about the different things about which we have to take great care with the change in the seasons.

Add Comment

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