In Focus

Horizontal ScrollViewer

By Ibrahim Ersoy Aug 30, 2012
If you want to control a scrollviewer from left-to-right instead top-to-bottom,you can use this trick.

If you want to control a scrollviewer from left-to-right instead top-to-bottom,you can use this trick.

Set ScrollViewer HorizontalScrollBarVisibility property as:

 HorizontalScrollBarVisibility="Visible"

By default,its set to "Disabled".


This will help you to navigate from left-to-right and opposite right-to-left

If you have a Grid bigger than ScrollViewer,then you'll be applying a Panorama-like effect

Laughing



Hope this trick helps!

Ibrahim Ersoy
Ibrahim Ersoy

Ibrahim Ersoy helps running and managing C# Corner. He is a Software Consultant in Sharepoint field. He is also interested in Universal Apps, Nodejs, Javascript and mobility. He is also a 2 times C# Corner MVP.

COMMENT USING