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.

TV Series Shooter Outfits on :

Microsoft visual studio is really a great platform to write codes. It really helps me writing error-free code by showing the proper syntax guidelines. Thanks

thomas jane leather vest on :

yes recently I use visual studio 2017 version.your 2107 version is very excellent for developer and for beginner your some class are already include in but need some.betterment account to long coding.keep it up,you are doing great..

Leonardo Dicaprio Jacket on :

He means a naked one. i think he wants to find out if you would send him dirty pictures or not. Dont do it only when your in a comitted relatioonship and you fully trust that person I.

Add Comment

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