Subscribe to the RSS feed then follow me on twitter at @mrlacey

Thursday, July 07, 2011

Creating a horizontally scrolling list #wp7dev

I recently needed to show someone how to make a ListBox scroll horizontally rather than vertically. Here's what I did:


The key part is: '<StackPanel Orientation="Horizontal" />'
It's this that controls the direction. of item display.

The next two parts give us the correct scrolling behaviour that we want.
Setting 'ScrollViewer.HorizontalScrollBarVisibility="Auto"' enables horizontal scrolling.
Setting 'ScrollViewer.VerticalScrollBarVisibility="Disabled"' prevents vertical scrolling.

The thing to note is that setting XxxxScrollBarVisibility doesn't just control the visibility if the scrollbar it also controls whether scrolling in that direction is possible.

If you've built Windows Phone or Windows Store apps you can cross-promote them with AdDuplex to get more users.

1 comment:

  1. Nevertheless only wherever does this specific straightforward sport while using peculiar brand chanel replica commenced? A lot of dialogues get ensued with regards to whom truly commenced this specific corn-filled-bag hurling sport. Both the nearly all intensely argued practices involving beginning are generally Belgium along with Cincinnati, Tennesse. One particular history affirms Cornhole ended up being conceived inside 1300s by the The german language farmer. Your louis vuitton replica uk history affirms it turned out commenced in that will city's western side facet. Even now people propose Cornhole genuinely does start in Belgium, nevertheless ended up being exposed to Cincinnati, a new idea recognized by the significant The german language inhabitants generally there. Most quite plausible tips. Would it be genuinely plausible who's has not been prior to the 1900s that men and women commenced hurling a new handbag as well as good ole' right opening? It would need root base even farther louis vuitton replica hats when compared with Belgium, truly, nevertheless probably in a very a little distinct variation. It will look perhaps essentially the most historical involving civilizations worldwide would have made much the same hurling sport. In fact, while you do not possess a new Gadgets 3rd there’s r People keep to venture to, gucci replica does one come across cut-throat leisure? Mancala can be yet another common National sport containing historical root base, necessitating merely dirt along with divots dug in the terrain. In fact, Cornhole is well know by simply several unique labels. Your hermes birkin replica brand can be questionable to many, while it is usually a new derogatory expression occasionally. That they call up the idea Luggage, Baggo, Corn Drop, Bean Handbag Drop, and in many cases Hillbilly Horseshoes.