TAG: scrollviewer

Why is my zoomable ScrollViewer snapping the image to the left?

FlipView is an interesting control that can be easily used for scenarios such as image galleries. Other than flipping through a bunch of images, users normally expect to be able to zoom in and out, and we all now that zooming in and out is easiest to implement with a ScrollViewer with enabled ZoomMode property. However, the default behavior of the ScrollViewer is a bit unusual. Let's create s simple repro case. Let's define a very…

Scrolling GridView by placing mouse on edge

The start screen on Windows 8 has an interesting feature - it scrolls if you move your mouse to left or right edge, without the need for scrolling using the mouse wheel. I pretty much never use it because the scrolling is rather slow, and I usually know where I want to go so I can scroll faster, but for reading and exploring purposes, slower scrolling can come in handy. How to accomplish it using the…

Microsoft Certified Solutions Developer: Windows Store Apps in C#